Searched refs:O_RDWR (Results 1 – 8 of 8) sorted by relevance
33 return open("/dev/ptmx", O_RDWR|O_NOCTTY); in getpt()
41 int fd = open("/dev/null", O_RDWR); in daemon()
78 m = O_RDWR; in __sflags()
54 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
149 open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0) in _gettemp()
20 #define O_RDWR 00000002 macro
1390 dev_null = open("/dev/null", O_RDWR); in nullify_closed_stdio()
1404 (dev_zero_fd = open("/dev/zero", O_RDWR), \