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

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

Completed in 19 milliseconds