Lines Matching defs:NULL
23 array of string pointers, terminated by a NULL pointer. */
39 #ifndef NULL
40 #define NULL 0
47 #define INITIAL_MAXARGC 8 /* Number of args + NULL in initial argv */
55 duplicating each argument until the terminating @code{NULL} is found.
57 @code{NULL} if there is insufficient memory to complete building the
70 if (argv == NULL)
71 return NULL;
74 for (argc = 0; argv[argc] != NULL; argc++);
76 if (copy == NULL)
77 return NULL;
80 for (argc = 0; argv[argc] != NULL; argc++)
84 if (copy[argc] == NULL)
87 return NULL;
91 copy[argc] = NULL;
101 the terminating @code{NULL} is found, and then frees @var{vector}
112 if (vector != NULL)
114 for (scan = vector; *scan != NULL; scan++)
131 @code{NULL} element.
139 @code{NULL} if @var{sp} is @code{NULL} or if there is insufficient
142 If the input is a null string (as opposed to a @code{NULL} pointer),
156 The argument vector is always kept terminated with a @code{NULL} arg
171 char **argv = NULL;
174 if (input != NULL)
189 if (argv == NULL)
199 if (nargv == NULL)
201 if (argv != NULL)
204 argv = NULL;
209 argv[argc] = NULL;
272 if (argv[argc] == NULL)
275 argv = NULL;
279 argv[argc] = NULL;
308 if (f == NULL)
311 while (*argv != NULL)
440 NULL terminator at the end of ARGV. */
482 NULL
492 for (test = tests; *test != NULL; test++)
495 if ((argv = buildargv (*test)) == NULL)
501 for (targs = argv; *targs != NULL; targs++)