|
|
|
|
|
by an1sotropy
1375 days ago
|
|
(fully daydreaming here) For C, would it be useful to have main() look like: int main(int argc, char *argv[], char *envp[], JSON *json)
for some JSON data type that is part of C, kind of analogous to a FILE stream? I'm not sure how the the json info would get into that fourth argument (has to be independent of argv), but it would keep std{in,out,err} as is. |
|