Lines Matching refs:c_int
19 pub type errno_t = c_int;
67 pub tm_sec: c_int,
68 pub tm_min: c_int,
69 pub tm_hour: c_int,
70 pub tm_mday: c_int,
71 pub tm_mon: c_int,
72 pub tm_year: c_int,
73 pub tm_wday: c_int,
74 pub tm_yday: c_int,
75 pub tm_isdst: c_int,
94 pub const INT_MIN: c_int = -2147483648;
95 pub const INT_MAX: c_int = 2147483647;
97 pub const EXIT_FAILURE: c_int = 1;
98 pub const EXIT_SUCCESS: c_int = 0;
99 pub const RAND_MAX: c_int = 32767;
100 pub const EOF: c_int = -1;
101 pub const SEEK_SET: c_int = 0;
102 pub const SEEK_CUR: c_int = 1;
103 pub const SEEK_END: c_int = 2;
104 pub const _IOFBF: c_int = 0;
105 pub const _IONBF: c_int = 4;
106 pub const _IOLBF: c_int = 64;
112 pub const O_RDONLY: c_int = 0x0000;
113 pub const O_WRONLY: c_int = 0x0001;
114 pub const O_RDWR: c_int = 0x0002;
115 pub const O_APPEND: c_int = 0x0008;
116 pub const O_CREAT: c_int = 0x0100;
117 pub const O_TRUNC: c_int = 0x0200;
118 pub const O_EXCL: c_int = 0x0400;
119 pub const O_TEXT: c_int = 0x4000;
120 pub const O_BINARY: c_int = 0x8000;
121 pub const _O_WTEXT: c_int = 0x10000;
122 pub const _O_U16TEXT: c_int = 0x20000;
123 pub const _O_U8TEXT: c_int = 0x40000;
124 pub const O_RAW: c_int = O_BINARY;
125 pub const O_NOINHERIT: c_int = 0x0080;
126 pub const O_TEMPORARY: c_int = 0x0040;
127 pub const _O_SHORT_LIVED: c_int = 0x1000;
128 pub const _O_OBTAIN_DIR: c_int = 0x2000;
129 pub const O_SEQUENTIAL: c_int = 0x0020;
130 pub const O_RANDOM: c_int = 0x0010;
132 pub const S_IFCHR: c_int = 0o2_0000;
133 pub const S_IFDIR: c_int = 0o4_0000;
134 pub const S_IFREG: c_int = 0o10_0000;
135 pub const S_IFMT: c_int = 0o17_0000;
136 pub const S_IEXEC: c_int = 0o0100;
137 pub const S_IWRITE: c_int = 0o0200;
138 pub const S_IREAD: c_int = 0o0400;
140 pub const LC_ALL: c_int = 0;
141 pub const LC_COLLATE: c_int = 1;
142 pub const LC_CTYPE: c_int = 2;
143 pub const LC_MONETARY: c_int = 3;
144 pub const LC_NUMERIC: c_int = 4;
145 pub const LC_TIME: c_int = 5;
147 pub const EPERM: c_int = 1;
148 pub const ENOENT: c_int = 2;
149 pub const ESRCH: c_int = 3;
150 pub const EINTR: c_int = 4;
151 pub const EIO: c_int = 5;
152 pub const ENXIO: c_int = 6;
153 pub const E2BIG: c_int = 7;
154 pub const ENOEXEC: c_int = 8;
155 pub const EBADF: c_int = 9;
156 pub const ECHILD: c_int = 10;
157 pub const EAGAIN: c_int = 11;
158 pub const ENOMEM: c_int = 12;
159 pub const EACCES: c_int = 13;
160 pub const EFAULT: c_int = 14;
161 pub const EBUSY: c_int = 16;
162 pub const EEXIST: c_int = 17;
163 pub const EXDEV: c_int = 18;
164 pub const ENODEV: c_int = 19;
165 pub const ENOTDIR: c_int = 20;
166 pub const EISDIR: c_int = 21;
167 pub const EINVAL: c_int = 22;
168 pub const ENFILE: c_int = 23;
169 pub const EMFILE: c_int = 24;
170 pub const ENOTTY: c_int = 25;
171 pub const EFBIG: c_int = 27;
172 pub const ENOSPC: c_int = 28;
173 pub const ESPIPE: c_int = 29;
174 pub const EROFS: c_int = 30;
175 pub const EMLINK: c_int = 31;
176 pub const EPIPE: c_int = 32;
177 pub const EDOM: c_int = 33;
178 pub const ERANGE: c_int = 34;
179 pub const EDEADLK: c_int = 36;
180 pub const EDEADLOCK: c_int = 36;
181 pub const ENAMETOOLONG: c_int = 38;
182 pub const ENOLCK: c_int = 39;
183 pub const ENOSYS: c_int = 40;
184 pub const ENOTEMPTY: c_int = 41;
185 pub const EILSEQ: c_int = 42;
186 pub const STRUNCATE: c_int = 80;
189 pub const EADDRINUSE: c_int = 100;
190 pub const EADDRNOTAVAIL: c_int = 101;
191 pub const EAFNOSUPPORT: c_int = 102;
192 pub const EALREADY: c_int = 103;
193 pub const EBADMSG: c_int = 104;
194 pub const ECANCELED: c_int = 105;
195 pub const ECONNABORTED: c_int = 106;
196 pub const ECONNREFUSED: c_int = 107;
197 pub const ECONNRESET: c_int = 108;
198 pub const EDESTADDRREQ: c_int = 109;
199 pub const EHOSTUNREACH: c_int = 110;
200 pub const EIDRM: c_int = 111;
201 pub const EINPROGRESS: c_int = 112;
202 pub const EISCONN: c_int = 113;
203 pub const ELOOP: c_int = 114;
204 pub const EMSGSIZE: c_int = 115;
205 pub const ENETDOWN: c_int = 116;
206 pub const ENETRESET: c_int = 117;
207 pub const ENETUNREACH: c_int = 118;
208 pub const ENOBUFS: c_int = 119;
209 pub const ENODATA: c_int = 120;
210 pub const ENOLINK: c_int = 121;
211 pub const ENOMSG: c_int = 122;
212 pub const ENOPROTOOPT: c_int = 123;
213 pub const ENOSR: c_int = 124;
214 pub const ENOSTR: c_int = 125;
215 pub const ENOTCONN: c_int = 126;
216 pub const ENOTRECOVERABLE: c_int = 127;
217 pub const ENOTSOCK: c_int = 128;
218 pub const ENOTSUP: c_int = 129;
219 pub const EOPNOTSUPP: c_int = 130;
220 pub const EOVERFLOW: c_int = 132;
221 pub const EOWNERDEAD: c_int = 133;
222 pub const EPROTO: c_int = 134;
223 pub const EPROTONOSUPPORT: c_int = 135;
224 pub const EPROTOTYPE: c_int = 136;
225 pub const ETIME: c_int = 137;
226 pub const ETIMEDOUT: c_int = 138;
227 pub const ETXTBSY: c_int = 139;
228 pub const EWOULDBLOCK: c_int = 140;
231 pub const SIGINT: c_int = 2;
232 pub const SIGILL: c_int = 4;
233 pub const SIGFPE: c_int = 8;
234 pub const SIGSEGV: c_int = 11;
235 pub const SIGTERM: c_int = 15;
236 pub const SIGABRT: c_int = 22;
237 pub const NSIG: c_int = 23;
239 pub const SIG_ERR: c_int = -1;
279 pub fn printf(format: *const c_char, ...) -> c_int;
280 pub fn fprintf(stream: *mut FILE, format: *const c_char, ...) -> c_int;
286 pub fn isalnum(c: c_int) -> c_int; in isalnum() argument
287 pub fn isalpha(c: c_int) -> c_int; in isalpha() argument
288 pub fn iscntrl(c: c_int) -> c_int; in iscntrl() argument
289 pub fn isdigit(c: c_int) -> c_int; in isdigit() argument
290 pub fn isgraph(c: c_int) -> c_int; in isgraph() argument
291 pub fn islower(c: c_int) -> c_int; in islower() argument
292 pub fn isprint(c: c_int) -> c_int; in isprint() argument
293 pub fn ispunct(c: c_int) -> c_int; in ispunct() argument
294 pub fn isspace(c: c_int) -> c_int; in isspace() argument
295 pub fn isupper(c: c_int) -> c_int; in isupper() argument
296 pub fn isxdigit(c: c_int) -> c_int; in isxdigit() argument
297 pub fn isblank(c: c_int) -> c_int; in isblank() argument
298 pub fn tolower(c: c_int) -> c_int; in tolower() argument
299 pub fn toupper(c: c_int) -> c_int; in toupper() argument
302 pub fn fflush(file: *mut FILE) -> c_int; in fflush() argument
303 pub fn fclose(file: *mut FILE) -> c_int; in fclose() argument
304 pub fn remove(filename: *const c_char) -> c_int; in remove() argument
305 pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; in rename() argument
307 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf() argument
309 pub fn getchar() -> c_int; in getchar()
310 pub fn putchar(c: c_int) -> c_int; in putchar() argument
311 pub fn fgetc(stream: *mut FILE) -> c_int; in fgetc() argument
312 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets() argument
313 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int; in fputc() argument
314 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs() argument
315 pub fn puts(s: *const c_char) -> c_int; in puts() argument
316 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int; in ungetc() argument
319 pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; in fseek() argument
322 pub fn fgetpos(stream: *mut FILE, ptr: *mut fpos_t) -> c_int; in fgetpos() argument
323 pub fn fsetpos(stream: *mut FILE, ptr: *const fpos_t) -> c_int; in fsetpos() argument
324 pub fn feof(stream: *mut FILE) -> c_int; in feof() argument
325 pub fn ferror(stream: *mut FILE) -> c_int; in ferror() argument
328 pub fn atoi(s: *const c_char) -> c_int; in atoi() argument
333 pub fn strtol(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_long; in strtol()
334 pub fn strtoll(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_longlong; in strtoll()
335 pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulong; in strtoul()
336 pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong; in strtoull()
343 pub fn exit(status: c_int) -> !; in exit() argument
344 pub fn _exit(status: c_int) -> !; in _exit() argument
345 pub fn atexit(cb: extern "C" fn()) -> c_int; in atexit() argument
346 pub fn system(s: *const c_char) -> c_int; in system() argument
353 pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; in strcmp() argument
354 pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; in strncmp() argument
355 pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; in strcoll() argument
356 pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; in strchr()
357 pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; in strrchr()
365 pub fn strerror(n: c_int) -> *mut c_char; in strerror()
371 pub fn memchr(cx: *const c_void, c: c_int, n: size_t) -> *mut c_void; in memchr() argument
372 pub fn memcmp(cx: *const c_void, ct: *const c_void, n: size_t) -> c_int; in memcmp() argument
375 pub fn memset(dest: *mut c_void, c: c_int, n: size_t) -> *mut c_void; in memset() argument
377 pub fn abs(i: c_int) -> c_int; in abs() argument
379 pub fn rand() -> c_int; in rand()
382 pub fn signal(signum: c_int, handler: sighandler_t) -> sighandler_t; in signal() argument
383 pub fn raise(signum: c_int) -> c_int; in raise() argument
389 pub fn gmtime_s(destTime: *mut tm, srcTime: *const time_t) -> c_int; in gmtime_s() argument
391 pub fn get_daylight(hours: *mut c_int) -> errno_t; in get_daylight()
401 index: c_int, in get_tzname() argument
410 pub fn chmod(path: *const c_char, mode: c_int) -> c_int; in chmod() argument
412 pub fn wchmod(path: *const wchar_t, mode: c_int) -> c_int; in wchmod() argument
414 pub fn mkdir(path: *const c_char) -> c_int; in mkdir() argument
416 pub fn wrmdir(path: *const wchar_t) -> c_int; in wrmdir() argument
418 pub fn fstat(fildes: c_int, buf: *mut stat) -> c_int; in fstat() argument
420 pub fn stat(path: *const c_char, buf: *mut stat) -> c_int; in stat() argument
422 pub fn wstat(path: *const wchar_t, buf: *mut stat) -> c_int; in wstat() argument
424 pub fn wutime(file: *const wchar_t, buf: *mut utimbuf) -> c_int; in wutime() argument
428 pub fn pclose(stream: *mut crate::FILE) -> c_int; in pclose() argument
430 pub fn fdopen(fd: c_int, mode: *const c_char) -> *mut crate::FILE; in fdopen() argument
432 pub fn fileno(stream: *mut crate::FILE) -> c_int; in fileno() argument
434 pub fn open(path: *const c_char, oflag: c_int, ...) -> c_int; in open() argument
436 pub fn wopen(path: *const wchar_t, oflag: c_int, ...) -> c_int; in wopen() argument
438 pub fn creat(path: *const c_char, mode: c_int) -> c_int; in creat() argument
440 pub fn access(path: *const c_char, amode: c_int) -> c_int; in access() argument
442 pub fn chdir(dir: *const c_char) -> c_int; in chdir() argument
444 pub fn close(fd: c_int) -> c_int; in close() argument
446 pub fn dup(fd: c_int) -> c_int; in dup() argument
448 pub fn dup2(src: c_int, dst: c_int) -> c_int; in dup2() argument
473 ) -> c_int; in execve() argument
475 pub fn execvp(c: *const c_char, argv: *const *const c_char) -> c_int; in execvp() argument
481 ) -> c_int; in execvpe() argument
500 pub fn getcwd(buf: *mut c_char, size: c_int) -> *mut c_char; in getcwd()
502 pub fn getpid() -> c_int; in getpid()
504 pub fn isatty(fd: c_int) -> c_int; in isatty() argument
506 pub fn lseek(fd: c_int, offset: c_long, origin: c_int) -> c_long; in lseek() argument
508 pub fn lseek64(fd: c_int, offset: c_longlong, origin: c_int) -> c_longlong; in lseek64() argument
510 pub fn pipe(fds: *mut c_int, psize: c_uint, textmode: c_int) -> c_int; in pipe() argument
512 pub fn read(fd: c_int, buf: *mut c_void, count: c_uint) -> c_int; in read() argument
514 pub fn rmdir(path: *const c_char) -> c_int; in rmdir() argument
516 pub fn unlink(c: *const c_char) -> c_int; in unlink() argument
518 pub fn write(fd: c_int, buf: *const c_void, count: c_uint) -> c_int; in write() argument
520 pub fn commit(fd: c_int) -> c_int; in commit() argument
522 pub fn get_osfhandle(fd: c_int) -> intptr_t; in get_osfhandle()
524 pub fn open_osfhandle(osfhandle: intptr_t, flags: c_int) -> c_int; in open_osfhandle() argument
525 pub fn setlocale(category: c_int, locale: *const c_char) -> *mut c_char; in setlocale() argument
527 pub fn wsetlocale(category: c_int, locale: *const wchar_t) -> *mut wchar_t; in wsetlocale() argument
535 pub fn putenv(envstring: *const c_char) -> c_int; in putenv() argument
537 pub fn wputenv(envstring: *const crate::wchar_t) -> c_int; in wputenv() argument
548 pub fn listen(s: SOCKET, backlog: c_int) -> c_int; in listen() argument
549 pub fn accept(s: SOCKET, addr: *mut crate::sockaddr, addrlen: *mut c_int) -> SOCKET; in accept()
550 pub fn bind(s: SOCKET, name: *const crate::sockaddr, namelen: c_int) -> c_int; in bind() argument
551 pub fn connect(s: SOCKET, name: *const crate::sockaddr, namelen: c_int) -> c_int; in connect() argument
552 pub fn getpeername(s: SOCKET, name: *mut crate::sockaddr, nameln: *mut c_int) -> c_int; in getpeername() argument
553 pub fn getsockname(s: SOCKET, name: *mut crate::sockaddr, nameln: *mut c_int) -> c_int; in getsockname() argument
556 level: c_int, in getsockopt() argument
557 optname: c_int, in getsockopt() argument
559 optlen: *mut c_int, in getsockopt() argument
560 ) -> c_int; in getsockopt() argument
564 len: c_int, in recvfrom() argument
565 flags: c_int, in recvfrom() argument
567 fromlen: *mut c_int, in recvfrom() argument
568 ) -> c_int; in recvfrom() argument
572 len: c_int, in sendto() argument
573 flags: c_int, in sendto() argument
575 tolen: c_int, in sendto() argument
576 ) -> c_int; in sendto() argument
579 level: c_int, in setsockopt() argument
580 optname: c_int, in setsockopt() argument
582 optlen: c_int, in setsockopt() argument
583 ) -> c_int; in setsockopt() argument
584 pub fn socket(af: c_int, socket_type: c_int, protocol: c_int) -> SOCKET; in socket() argument