Lines Matching defs:mode
53 fmemopen(void * __restrict buf, size_t size, const char * __restrict mode)
68 * Retrieve the flags as used by open(2) from the mode argument, and
71 rc = __sflags(mode, &flags);
79 * in write-only mode.
108 if (ck->own || mode[0] == 'w') {
112 /* Check for binary mode. */
113 ck->bin = strchr(mode, 'b') != NULL;
117 * mode:
119 * for append (text-mode), the position of the first NULL byte, or the
122 * for append (binary-mode), the size of the buffer
128 switch (mode[0]) {
152 if (mode[0] == 'a')