Lines Matching refs:NULL
84 char * my_pathp = NULL;
89 if ( my_pathp == NULL ) {
146 if ( my_pathp != NULL ) {
173 printf("CWD= %s\n", getwd(NULL));
211 my_wait_pid = wait4( my_pid, &my_status, 0, NULL );
248 char * args[] = {"helpers/arch", NULL};
264 my_err = posix_spawn(&my_pid, args[0], NULL, &attr, args, NULL);
278 my_err = wait4(my_pid, &my_status, 0, NULL);
308 char *errmsg = NULL;
311 if (my_err = sysctlbyname("hw.cputype", NULL, &length, NULL, 0)) goto finished; /* get length of data */
313 if (my_err = sysctlbyname("hw.cputype", &buf, &length, NULL, 0)) goto finished; /* copy data */
353 if ((my_err = sysctlbyname("hw.optional.64bitops", NULL, &len, NULL, 0))) goto x86_64check; /* Request size */
355 if ((my_err = sysctlbyname("hw.optional.64bitops", &buf, &len, NULL, 0))) goto x86_64check; /* Copy value out from kernel */
361 if ((my_err = sysctlbyname("hw.optional.x86_64", NULL, &len, NULL, 0))) goto finished; /* Request size */
363 if ((my_err = sysctlbyname("hw.optional.x86_64", &buf, &len, NULL, 0))) goto finished; /* Copy value out from kernel */