Searched defs:NULL (Results 1 - 25 of 191) sorted by relevance

12345678

/illumos-gate/usr/src/boot/sys/sys/
H A D_null.h29 #ifndef NULL
32 #define NULL ((void *)0) macro
35 #define NULL nullptr macro
37 #define NULL __null macro
40 #define NULL (0L) macro
42 #define NULL 0 macro
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dstring.h37 #ifndef NULL
38 #define NULL 0 macro
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dindex.c27 * NULL if not found
30 #define NULL 0 macro
41 return (NULL);
H A Dstrchr.c30 * NULL if not found
33 #define NULL 0 macro
43 return(NULL);
H A Drindex.c27 * appears; NULL if not found
30 #define NULL 0 macro
38 r = NULL;
H A Dstrpbrk.c30 * in the character string `string'; NULL if none exists.
33 #define NULL (char *) 0 macro
48 return(NULL);
H A Dstrrchr.c30 * appears; NULL if not found
33 #define NULL 0 macro
41 r = NULL;
H A Dgetenv.c30 * returns ptr to value associated with name, if any, else NULL
32 #define NULL 0 macro
42 if(p == NULL)
43 return(NULL);
44 while(*p != NULL)
45 if((v = nvmatch(name, *p++)) != NULL)
47 return(NULL);
53 * if names match, return value of s2, else NULL
66 return(NULL);
H A Dstrtok.c30 * sequentially subsequent calls. returns NULL when no
32 * `subsequent' calls are calls with first argument NULL.
35 #define NULL (char*)0 macro
48 p = (string == NULL)? savept: string;
51 return(NULL);
56 return(NULL);
58 if((r = strpbrk(q, sepset)) == NULL) /* move past token */
H A Dftw.c101 #define NULL 0 macro
161 if(dirp == NULL)
172 if(subpath == NULL) {
189 while((dp = readdir(dirp)) != NULL) {
223 if(dirp == NULL) {
H A Dtfind.c39 #define NULL 0 macro
49 if (rootp == NULL)
50 return (NULL);
51 while (*rootp != NULL) { /* T1: */
59 return (NODE *)(NULL);
/illumos-gate/usr/src/common/net/wanboot/
H A Dauxutil.h15 #undef NULL macro
16 #define NULL ((void *) 0) macro
/illumos-gate/usr/src/stand/lib/sa/
H A Dstring.h43 #ifndef NULL
44 #define NULL 0 /* defined here as per ISO C */ macro
H A Dstddef.h40 #ifndef NULL
41 #define NULL 0 macro
/illumos-gate/usr/src/uts/common/sys/
H A Dnull.h19 #ifndef NULL
22 #define NULL 0L macro
24 #define NULL 0 macro
27 #endif /* NULL */
/illumos-gate/usr/src/test/libc-tests/tests/
H A Daligned_alloc.c40 VERIFY3P(aligned_alloc(sizeof (void *) - 1, 16), ==, NULL); local
43 VERIFY3P(aligned_alloc(sizeof (void *) + 1, 16), ==, NULL); local
47 VERIFY3P(aligned_alloc(23, 16), ==, NULL);
51 VERIFY3P(buf, !=, NULL);
64 if (malloc(16) == NULL)
69 if (aligned_alloc(sizeof (void *), 16) == NULL)
73 VERIFY3P(aligned_alloc(sizeof (void *), 16), ==, NULL); local
/illumos-gate/usr/src/cmd/ypcmd/revnetgroup/
H A Dutil.h35 #ifndef NULL
36 # define NULL ((char *) 0) macro
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_fsync.c32 FCONTROL(_MPE_FILENO(fd), 2, NULL); /* Flush the buffers */ local
33 FCONTROL(_MPE_FILENO(fd), 6, NULL); /* Write the EOF */ local
57 ret = __db_jump.j_fsync != NULL ? __db_jump.j_fsync(fd) : fsync(fd);
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dstdlib.h45 #ifndef NULL
46 #define NULL 0 macro
/illumos-gate/usr/src/lib/libbc/inc/include/rpc/
H A Dtypes.h48 #ifndef NULL
49 # define NULL 0 macro
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypv1_xdr.c36 #define NULL 0 macro
65 yprequest_arms[3].proc = (xdrproc_t)NULL;
70 yprequest_arms, NULL));
88 ypresponse_arms[3].proc = (xdrproc_t)NULL;
93 ypresponse_arms, NULL));
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Detherboot.h37 #ifndef NULL
38 #define NULL ((void *)0) macro
/illumos-gate/usr/src/cmd/lms/SyncLib/Include/
H A DThread.h59 #ifndef NULL
60 #define NULL 0 macro
72 Thread(CallbackFunction func = NULL, void *param = NULL);
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt1.c65 #ifndef NULL macro
66 #define NULL 0
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dgen.h40 ** Define NULL and offsetof (from the C89 standard)
46 # ifndef NULL
47 # define NULL 0 macro
48 # endif /* ! NULL */

Completed in 84 milliseconds

12345678