.\" openfwtk project: enargv.3 1-Nov-2000 .TH enargv 3 .SH NAME enargv() \- convert space-delimited string into argv type array .SH SYNOPSIS .nf #include "fwfunc.h" .fi .sp int \fBenargv\fP(char *buf,char **av,int avsiz,char *tobuf,int bsiz) .SH DESCRIPTION The \fIenargv\fP function coverts string \fIbuf\fP into array \fIav\fP, using \fItobuf\fP as actual storage, not exceeding the buffer size \fIbsiz\fP and token counter \fIavsiz\fP. .SH RETURN VALUES The \fIenargv\fP function returns token counter. .SH SEE ALSO isspace(3) .SH HISTORY Public domain function by Macrus J Ranum, present in fwtk since v1