Forum: C 30 Days Ago |
| Replies: 6 Views: 322 I looked in the source code of gcc-4.3.2 and I found this
char **buildargv (const char *input)
{
char *arg;
char *copybuf;
int squote = 0;
int dquote = 0;
int bsquote = 0;
int... |
Forum: C 30 Days Ago |
| Replies: 6 Views: 322 Thanks for your replies. I think you're right, there are some functions related to this in OS source code, but they're not very useful. It would have been great to find a well known C function for... |
Forum: C 31 Days Ago |
| Replies: 6 Views: 322 Suppose that I have a program named myprog, and I type this in a shell
$ myprog -z hello -m "this is a message"
The function main in myprog will receive a char** argv containing the following... |