golden hour
/usr/include/bits
⬆️ Go Up
Upload
File/Folder
Size
Actions
a.out.h
268 B
Del
OK
byteswap-16.h
1.69 KB
Del
OK
byteswap.h
5.56 KB
Del
OK
cmathcalls.h
4.7 KB
Del
OK
confname.h
23.19 KB
Del
OK
dirent.h
1.69 KB
Del
OK
dlfcn.h
2.47 KB
Del
OK
elfclass.h
426 B
Del
OK
endian.h
176 B
Del
OK
environments.h
3.5 KB
Del
OK
epoll.h
1.11 KB
Del
OK
errno.h
2.11 KB
Del
OK
error.h
2.62 KB
Del
OK
eventfd.h
1.1 KB
Del
OK
fcntl-linux.h
12.55 KB
Del
OK
fcntl.h
2.19 KB
Del
OK
fcntl2.h
5.44 KB
Del
OK
fenv.h
3.94 KB
Del
OK
fenvinline.h
190 B
Del
OK
huge_val.h
1.83 KB
Del
OK
huge_valf.h
1.79 KB
Del
OK
huge_vall.h
1.57 KB
Del
OK
hwcap.h
966 B
Del
OK
in.h
9.01 KB
Del
OK
inf.h
1.03 KB
Del
OK
initspin.h
25 B
Del
OK
inotify.h
1.05 KB
Del
OK
ioctl-types.h
2.41 KB
Del
OK
ioctls.h
4.38 KB
Del
OK
ipc.h
2.01 KB
Del
OK
ipctypes.h
1.14 KB
Del
OK
libc-lock.h
12.54 KB
Del
OK
libio-ldbl.h
1014 B
Del
OK
link.h
4.2 KB
Del
OK
local_lim.h
3.13 KB
Del
OK
locale.h
1.33 KB
Del
OK
math-finite.h
14.24 KB
Del
OK
mathcalls.h
11.3 KB
Del
OK
mathdef.h
2.14 KB
Del
OK
mathinline.h
30.86 KB
Del
OK
mman.h
4.78 KB
Del
OK
monetary-ldbl.h
1.02 KB
Del
OK
mqueue.h
1.22 KB
Del
OK
mqueue2.h
2.11 KB
Del
OK
msq.h
2.47 KB
Del
OK
nan.h
1.54 KB
Del
OK
netdb.h
1.25 KB
Del
OK
param.h
1.4 KB
Del
OK
poll.h
2.04 KB
Del
OK
poll2.h
2.86 KB
Del
OK
posix1_lim.h
4.81 KB
Del
OK
posix2_lim.h
2.82 KB
Del
OK
posix_opt.h
5.65 KB
Del
OK
printf-ldbl.h
986 B
Del
OK
pthreadtypes.h
6.33 KB
Del
OK
resource.h
9.21 KB
Del
OK
sched.h
7.37 KB
Del
OK
select.h
2.08 KB
Del
OK
select2.h
1.4 KB
Del
OK
sem.h
2.53 KB
Del
OK
semaphore.h
1.21 KB
Del
OK
setjmp.h
1.26 KB
Del
OK
setjmp2.h
1.67 KB
Del
OK
shm.h
3.44 KB
Del
OK
sigaction.h
2.79 KB
Del
OK
sigcontext.h
4.08 KB
Del
OK
siginfo.h
9.81 KB
Del
OK
signalfd.h
1.04 KB
Del
OK
signum.h
3.34 KB
Del
OK
sigset.h
4.48 KB
Del
OK
sigstack.h
1.49 KB
Del
OK
sigthread.h
1.64 KB
Del
OK
sockaddr.h
1.5 KB
Del
OK
socket.h
12.6 KB
Del
OK
socket2.h
2.95 KB
Del
OK
socket_type.h
2.16 KB
Del
OK
stab.def
8.82 KB
Del
OK
stat.h
7.46 KB
Del
OK
statfs.h
1.89 KB
Del
OK
statvfs.h
3.34 KB
Del
OK
stdio-ldbl.h
3.11 KB
Del
OK
stdio-lock.h
2.14 KB
Del
OK
stdio.h
5.45 KB
Del
OK
stdio2.h
12.36 KB
Del
OK
stdio_lim.h
1.34 KB
Del
OK
stdlib-float.h
1.12 KB
Del
OK
stdlib-ldbl.h
1.36 KB
Del
OK
stdlib.h
5.53 KB
Del
OK
string.h
56.48 KB
Del
OK
string2.h
46.08 KB
Del
OK
string3.h
4.38 KB
Del
OK
sys_errlist.h
1.19 KB
Del
OK
syscall.h
43.03 KB
Del
OK
sysctl.h
893 B
Del
OK
syslog-ldbl.h
1.17 KB
Del
OK
syslog-path.h
1.03 KB
Del
OK
syslog.h
1.66 KB
Del
OK
termios.h
5.23 KB
Del
OK
time.h
3.35 KB
Del
OK
timerfd.h
1.08 KB
Del
OK
timex.h
4.36 KB
Del
OK
types.h
7.55 KB
Del
OK
typesizes.h
3.15 KB
Del
OK
uio.h
2.42 KB
Del
OK
unistd.h
13.07 KB
Del
OK
ustat.h
1.06 KB
Del
OK
utmp.h
3.87 KB
Del
OK
utmpx.h
3.38 KB
Del
OK
utsname.h
1.19 KB
Del
OK
waitflags.h
1.61 KB
Del
OK
waitstatus.h
3.49 KB
Del
OK
wchar-ldbl.h
2.45 KB
Del
OK
wchar.h
1.11 KB
Del
OK
wchar2.h
20.04 KB
Del
OK
wordsize.h
327 B
Del
OK
xopen_lim.h
3.68 KB
Del
OK
Edit: unistd.h
/* Checking macros for unistd functions. Copyright (C) 2005, 2006, 2007, 2008, 2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ #ifndef _UNISTD_H # error "Never include <bits/unistd.h> directly; use <unistd.h> instead." #endif extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __wur; extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, size_t __nbytes), read) __wur; extern ssize_t __REDIRECT (__read_chk_warn, (int __fd, void *__buf, size_t __nbytes, size_t __buflen), __read_chk) __wur __warnattr ("read called with bigger length than size of " "the destination buffer"); __fortify_function __wur ssize_t read (int __fd, void *__buf, size_t __nbytes) { if (__bos0 (__buf) != (size_t) -1) { if (!__builtin_constant_p (__nbytes)) return __read_chk (__fd, __buf, __nbytes, __bos0 (__buf)); if (__nbytes > __bos0 (__buf)) return __read_chk_warn (__fd, __buf, __nbytes, __bos0 (__buf)); } return __read_alias (__fd, __buf, __nbytes); } #ifdef __USE_UNIX98 extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __wur; extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __wur; extern ssize_t __REDIRECT (__pread_alias, (int __fd, void *__buf, size_t __nbytes, __off_t __offset), pread) __wur; extern ssize_t __REDIRECT (__pread64_alias, (int __fd, void *__buf, size_t __nbytes, __off64_t __offset), pread64) __wur; extern ssize_t __REDIRECT (__pread_chk_warn, (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize), __pread_chk) __wur __warnattr ("pread called with bigger length than size of " "the destination buffer"); extern ssize_t __REDIRECT (__pread64_chk_warn, (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize), __pread64_chk) __wur __warnattr ("pread64 called with bigger length than size of " "the destination buffer"); # ifndef __USE_FILE_OFFSET64 __fortify_function __wur ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off_t __offset) { if (__bos0 (__buf) != (size_t) -1) { if (!__builtin_constant_p (__nbytes)) return __pread_chk (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); if ( __nbytes > __bos0 (__buf)) return __pread_chk_warn (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); } return __pread_alias (__fd, __buf, __nbytes, __offset); } # else __fortify_function __wur ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) { if (__bos0 (__buf) != (size_t) -1) { if (!__builtin_constant_p (__nbytes)) return __pread64_chk (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); if ( __nbytes > __bos0 (__buf)) return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); } return __pread64_alias (__fd, __buf, __nbytes, __offset); } # endif # ifdef __USE_LARGEFILE64 __fortify_function __wur ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) { if (__bos0 (__buf) != (size_t) -1) { if (!__builtin_constant_p (__nbytes)) return __pread64_chk (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); if ( __nbytes > __bos0 (__buf)) return __pread64_chk_warn (__fd, __buf, __nbytes, __offset, __bos0 (__buf)); } return __pread64_alias (__fd, __buf, __nbytes, __offset); } # endif #endif #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K extern ssize_t __readlink_chk (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __THROW __nonnull ((1, 2)) __wur; extern ssize_t __REDIRECT_NTH (__readlink_alias, (const char *__restrict __path, char *__restrict __buf, size_t __len), readlink) __nonnull ((1, 2)) __wur; extern ssize_t __REDIRECT_NTH (__readlink_chk_warn, (const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen), __readlink_chk) __nonnull ((1, 2)) __wur __warnattr ("readlink called with bigger length " "than size of destination buffer"); __fortify_function __nonnull ((1, 2)) __wur ssize_t __NTH (readlink (const char *__restrict __path, char *__restrict __buf, size_t __len)) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __readlink_chk (__path, __buf, __len, __bos (__buf)); if ( __len > __bos (__buf)) return __readlink_chk_warn (__path, __buf, __len, __bos (__buf)); } return __readlink_alias (__path, __buf, __len); } #endif #ifdef __USE_ATFILE extern ssize_t __readlinkat_chk (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __THROW __nonnull ((2, 3)) __wur; extern ssize_t __REDIRECT_NTH (__readlinkat_alias, (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len), readlinkat) __nonnull ((2, 3)) __wur; extern ssize_t __REDIRECT_NTH (__readlinkat_chk_warn, (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen), __readlinkat_chk) __nonnull ((2, 3)) __wur __warnattr ("readlinkat called with bigger " "length than size of destination " "buffer"); __fortify_function __nonnull ((2, 3)) __wur ssize_t __NTH (readlinkat (int __fd, const char *__restrict __path, char *__restrict __buf, size_t __len)) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __readlinkat_chk (__fd, __path, __buf, __len, __bos (__buf)); if (__len > __bos (__buf)) return __readlinkat_chk_warn (__fd, __path, __buf, __len, __bos (__buf)); } return __readlinkat_alias (__fd, __path, __buf, __len); } #endif extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen) __THROW __wur; extern char *__REDIRECT_NTH (__getcwd_alias, (char *__buf, size_t __size), getcwd) __wur; extern char *__REDIRECT_NTH (__getcwd_chk_warn, (char *__buf, size_t __size, size_t __buflen), __getcwd_chk) __wur __warnattr ("getcwd caller with bigger length than size of " "destination buffer"); __fortify_function __wur char * __NTH (getcwd (char *__buf, size_t __size)) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__size)) return __getcwd_chk (__buf, __size, __bos (__buf)); if (__size > __bos (__buf)) return __getcwd_chk_warn (__buf, __size, __bos (__buf)); } return __getcwd_alias (__buf, __size); } #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED extern char *__getwd_chk (char *__buf, size_t buflen) __THROW __nonnull ((1)) __wur; extern char *__REDIRECT_NTH (__getwd_warn, (char *__buf), getwd) __nonnull ((1)) __wur __warnattr ("please use getcwd instead, as getwd " "doesn't specify buffer size"); __fortify_function __nonnull ((1)) __attribute_deprecated__ __wur char * __NTH (getwd (char *__buf)) { if (__bos (__buf) != (size_t) -1) return __getwd_chk (__buf, __bos (__buf)); return __getwd_warn (__buf); } #endif extern size_t __confstr_chk (int __name, char *__buf, size_t __len, size_t __buflen) __THROW; extern size_t __REDIRECT_NTH (__confstr_alias, (int __name, char *__buf, size_t __len), confstr); extern size_t __REDIRECT_NTH (__confstr_chk_warn, (int __name, char *__buf, size_t __len, size_t __buflen), __confstr_chk) __warnattr ("confstr called with bigger length than size of destination " "buffer"); __fortify_function size_t __NTH (confstr (int __name, char *__buf, size_t __len)) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__len)) return __confstr_chk (__name, __buf, __len, __bos (__buf)); if (__bos (__buf) < __len) return __confstr_chk_warn (__name, __buf, __len, __bos (__buf)); } return __confstr_alias (__name, __buf, __len); } extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen) __THROW __wur; extern int __REDIRECT_NTH (__getgroups_alias, (int __size, __gid_t __list[]), getgroups) __wur; extern int __REDIRECT_NTH (__getgroups_chk_warn, (int __size, __gid_t __list[], size_t __listlen), __getgroups_chk) __wur __warnattr ("getgroups called with bigger group count than what " "can fit into destination buffer"); __fortify_function int __NTH (getgroups (int __size, __gid_t __list[])) { if (__bos (__list) != (size_t) -1) { if (!__builtin_constant_p (__size) || __size < 0) return __getgroups_chk (__size, __list, __bos (__list)); if (__size * sizeof (__gid_t) > __bos (__list)) return __getgroups_chk_warn (__size, __list, __bos (__list)); } return __getgroups_alias (__size, __list); } extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen, size_t __nreal) __THROW __nonnull ((2)); extern int __REDIRECT_NTH (__ttyname_r_alias, (int __fd, char *__buf, size_t __buflen), ttyname_r) __nonnull ((2)); extern int __REDIRECT_NTH (__ttyname_r_chk_warn, (int __fd, char *__buf, size_t __buflen, size_t __nreal), __ttyname_r_chk) __nonnull ((2)) __warnattr ("ttyname_r called with bigger buflen than " "size of destination buffer"); __fortify_function int __NTH (ttyname_r (int __fd, char *__buf, size_t __buflen)) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __ttyname_r_chk (__fd, __buf, __buflen, __bos (__buf)); if (__buflen > __bos (__buf)) return __ttyname_r_chk_warn (__fd, __buf, __buflen, __bos (__buf)); } return __ttyname_r_alias (__fd, __buf, __buflen); } #if defined __USE_REENTRANT || defined __USE_POSIX199506 extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal) __nonnull ((1)); extern int __REDIRECT (__getlogin_r_alias, (char *__buf, size_t __buflen), getlogin_r) __nonnull ((1)); extern int __REDIRECT (__getlogin_r_chk_warn, (char *__buf, size_t __buflen, size_t __nreal), __getlogin_r_chk) __nonnull ((1)) __warnattr ("getlogin_r called with bigger buflen than " "size of destination buffer"); __fortify_function int getlogin_r (char *__buf, size_t __buflen) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __getlogin_r_chk (__buf, __buflen, __bos (__buf)); if (__buflen > __bos (__buf)) return __getlogin_r_chk_warn (__buf, __buflen, __bos (__buf)); } return __getlogin_r_alias (__buf, __buflen); } #endif #if defined __USE_BSD || defined __USE_UNIX98 extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal) __THROW __nonnull ((1)); extern int __REDIRECT_NTH (__gethostname_alias, (char *__buf, size_t __buflen), gethostname) __nonnull ((1)); extern int __REDIRECT_NTH (__gethostname_chk_warn, (char *__buf, size_t __buflen, size_t __nreal), __gethostname_chk) __nonnull ((1)) __warnattr ("gethostname called with bigger buflen than " "size of destination buffer"); __fortify_function int __NTH (gethostname (char *__buf, size_t __buflen)) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __gethostname_chk (__buf, __buflen, __bos (__buf)); if (__buflen > __bos (__buf)) return __gethostname_chk_warn (__buf, __buflen, __bos (__buf)); } return __gethostname_alias (__buf, __buflen); } #endif #if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98) extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal) __THROW __nonnull ((1)) __wur; extern int __REDIRECT_NTH (__getdomainname_alias, (char *__buf, size_t __buflen), getdomainname) __nonnull ((1)) __wur; extern int __REDIRECT_NTH (__getdomainname_chk_warn, (char *__buf, size_t __buflen, size_t __nreal), __getdomainname_chk) __nonnull ((1)) __wur __warnattr ("getdomainname called with bigger " "buflen than size of destination " "buffer"); __fortify_function int __NTH (getdomainname (char *__buf, size_t __buflen)) { if (__bos (__buf) != (size_t) -1) { if (!__builtin_constant_p (__buflen)) return __getdomainname_chk (__buf, __buflen, __bos (__buf)); if (__buflen > __bos (__buf)) return __getdomainname_chk_warn (__buf, __buflen, __bos (__buf)); } return __getdomainname_alias (__buf, __buflen); } #endif
Save