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

/libmicro/
H A Dfcntl_ndelay.c80 int flags; local
83 if (fcntl(fd, F_GETFL, &flags) < 0)
85 flags |= O_NDELAY;
87 if (fcntl(fd, F_SETFL, &flags) < 0)
90 if (fcntl(fd, F_GETFL, &flags) < 0)
92 flags &= ~O_NDELAY;
94 if (fcntl(fd, F_SETFL, &flags) < 0)
H A Dmprotect.c79 (void) sprintf(lm_header, "%8s %5s", "size", "flags");
116 int flags; local
122 flags = opts ? MAP_SHARED : MAP_PRIVATE;
123 flags |= anon ? MAP_ANON : 0;
126 flags, anon ? -1 : fd, 0L);
188 char flags[6]; local
190 flags[0] = anon ? 'a' : '-';
191 flags[1] = optr ? 'r' : '-';
192 flags[2] = optw ? 'w' : '-';
193 flags[
[all...]
H A Dmsync.c76 (void) sprintf(lm_header, "%8s %6s", "length", "flags");
178 char flags[6]; local
180 flags[0] = anon ? 'a' : '-';
181 flags[1] = optr ? 'r' : '-';
182 flags[2] = optw ? 'w' : '-';
183 flags[3] = opts ? 's' : '-';
184 flags[4] = opti ? 'i' : '-';
185 flags[5] = 0;
187 (void) sprintf(result, "%8lld %6s", optl, flags);
H A Dfcntl.c90 int flags; local
93 if (fcntl(fd, F_GETFL, &flags) == -1)
H A Dmunmap.c75 (void) sprintf(lm_header, "%8s %5s", "size", "flags");
181 char flags[5]; local
183 flags[0] = anon ? 'a' : '-';
184 flags[1] = optr ? 'r' : '-';
185 flags[2] = optw ? 'w' : '-';
186 flags[3] = opts ? 's' : '-';
187 flags[4] = 0;
189 (void) sprintf(result, "%8lld %5s", optl, flags);
H A Dselect.c71 (void) sprintf(lm_header, "%8s %5s", "maxfd", "flags");
204 char flags[4]; local
206 flags[0] = optr ? 'r' : '-';
207 flags[1] = optw ? 'w' : '-';
208 flags[2] = optx ? 'x' : '-';
209 flags[3] = 0;
211 (void) sprintf(result, "%8d %5s", optn, flags);
H A Dmmap.c110 (void) sprintf(lm_header, "%8s %5s %8s", "length", "flags", "pgsz");
276 char flags[5]; local
278 flags[0] = anon ? 'a' : '-';
279 flags[1] = optr ? 'r' : '-';
280 flags[2] = optw ? 'w' : '-';
281 flags[3] = opts ? 's' : '-';
282 flags[4] = 0;
284 (void) sprintf(result, "%8lld %5s %8lld", optl, flags, optp);
H A Dpoll.c75 (void) sprintf(lm_header, "%8s %5s", "nfds", "flags");
208 char flags[4]; local
210 flags[0] = optr ? 'r' : '-';
211 flags[1] = optw ? 'w' : '-';
212 flags[2] = optx ? 'x' : '-';
213 flags[3] = 0;
215 (void) sprintf(result, "%8d %5s", optn, flags);

Completed in 8 milliseconds