typedef
struct Cmdbuf
{
char buf[128];
char *f[16];
int nf;
} Cmdbuf;
The array f holds the field pointers; nf gives the number of fields. Cmdbuf is allocated by smalloc (see malloc(10.2)), and the caller is responsible for freeing it using free.
| PARSECMD(10.2 ) | Rev: Thu Feb 15 14:42:59 GMT 2007 |