Searched defs:MAP_FAILED (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/cmd/sendmail/db/os/
H A Dos_map.c408 /* MAP_FAILED was not defined in early mmap implementations. */
409 #ifndef MAP_FAILED
410 #define MAP_FAILED -1 macro
413 mmap(NULL, len, prot, flags, fd, (off_t)0)) == (void *)MAP_FAILED)
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmmopen.c44 #define mmap(a,b,c,d,e,f) MAP_FAILED
45 #define munmap(a,b) MAP_FAILED
53 #ifndef MAP_FAILED
54 #define MAP_FAILED (void*)(-1) macro
116 if(base == (Void_t*)MAP_FAILED)
130 if(base == (Void_t*)MAP_FAILED)
196 if(caddr == (Void_t*)MAP_FAILED)
H A Dvmbest.c1244 #ifndef MAP_FAILED
1245 #define MAP_FAILED ((Void_t*)(-1)) macro
1380 if(addr && addr != (Vmuchar_t*)MAP_FAILED)
1405 if(addr && addr != (Vmuchar_t*)MAP_FAILED)

Completed in 25 milliseconds