Home
last modified time | relevance | path

Searched refs:xtype (Results 1 – 1 of 1) sorted by relevance

/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpopen.c85 const char * volatile xtype = type; in popen() local
91 _DIAGASSERT(xtype != NULL); in popen()
93 flags = strchr(xtype, 'e') ? O_CLOEXEC : 0; in popen()
94 if (strchr(xtype, '+')) { in popen()
97 xtype = "r+"; in popen()
102 xtype = strrchr(xtype, 'r') ? "r" : "w"; in popen()
138 if (*xtype == 'r') { in popen()
161 if (*xtype == 'r') { in popen()
162 iop = fdopen(pdes[0], xtype); in popen()
168 iop = fdopen(pdes[1], xtype); in popen()