1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
openbsd-src/include
guenther c1d8b5d1f7 getentropy(2) is in POSIX-2024, so adjust the #include visibility,
change the "too much" error to EINVAL, add GETENTROPY_MAX to
<limits.h> (via sys/syslimits.h), and update the manpage.

ok deraadt@
2024-08-02 01:53:21 +00:00
..
arpa spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
protocols Rearrange variables in dump / restore to handle -fno-common. 2021-01-21 00:16:36 +00:00
rpc spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
rpcsvc spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
a.out.h
ar.h
asr.h Allow the caller of asr functions to create and use a specific context. 2019-10-24 05:57:41 +00:00
assert.h Use __STDC_VERSION__ instead of __ISO_C_VISIBLE to guard _Static_assert. 2020-09-06 12:57:25 +00:00
bitstring.h Use a double-underscore prefix for local variables declared in macros 2020-05-10 00:56:06 +00:00
blf.h Niels agreed to remove the advertising clause; switching these 2021-11-29 01:04:45 +00:00
bsd_auth.h As per style.9, prototypes should not have variable names associated 2017-03-09 10:13:03 +00:00
complex.h lint is dead (long live the lint!), so stop using it as a cpp conditional 2014-03-16 18:38:30 +00:00
cpio.h
ctype.h Move ctype.h defines to the _CTYPE_ prefix, avoids clashes with identifiers in ports 2024-02-04 13:03:18 +00:00
curses.h I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
db.h Move the last of the __DBINTERFACE_PRIVATE bits from <db.h> to libc's wrapper 2015-10-17 21:48:42 +00:00
dirent.h Add scandirat(3); from freebsd 2024-04-15 15:47:58 +00:00
dlfcn.h Add #define for RTLD_NOLOAD missed in last ld.so commit. 2022-08-20 17:39:22 +00:00
elf_abi.h
elf.h <elf.h> should make it easier to port our ELF-related tools to other Unices. 2017-10-17 09:34:52 +00:00
err.h Add framework for resolving (pun intended) libc namespace issues, using 2015-08-31 02:53:56 +00:00
errno.h ___errno (three underbars) is long gone 2017-08-10 13:34:46 +00:00
fenv.h
float.h
fnmatch.h
fstab.h
fts.h
ftw.h I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
getopt.h
glob.h Make gl_pathc, gl_matchc and gl_offs size_t in glob_t to match POSIX. 2019-02-04 16:45:40 +00:00
grp.h Add uid_from_user() and gid_from_group(), derived from pax's cache.c. 2018-09-13 12:31:15 +00:00
icdb.h Make the key sizes and offsets arrays const, ok tedu 2016-09-04 14:51:39 +00:00
ieeefp.h
ifaddrs.h
inttypes.h POSIX 2008 TC2 requires <inttypes.h> to provide wchar_t 2022-07-31 01:27:31 +00:00
iso646.h
kvm.h
langinfo.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00
libgen.h Align the basename(3) and dirname(3) prototypes with the POSIX spec: 2020-10-20 19:30:14 +00:00
limits.h increase TMP_MAX to the equivalent of INT_MAX. it's actually more, 2015-01-20 22:09:50 +00:00
link_elf.h When it's the possessive of 'it', it's spelled "its", without the 2022-01-28 04:59:15 +00:00
link.h
locale.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00
login_cap.h add rtable capability to login.conf. 2022-03-01 01:22:11 +00:00
Makefile Provide C11 <uchar.h>. 2023-08-20 15:02:50 +00:00
math.h Implement sicos(3), sincosf(3) and sincosl(3). These functions are common 2018-03-10 20:52:58 +00:00
md5.h
memory.h
ndbm.h
netdb.h Stop including <sys/param.h> from <netdb.h>. Portable software must either 2015-01-18 20:29:31 +00:00
netgroup.h Christos Zoulas agreed to rescind clause 3 and 4 in 2023-01-04 13:00:11 +00:00
nl_types.h
nlist.h
paths.h add /usr/local/sbin. ok deraadt millert 2019-07-11 03:54:17 +00:00
poll.h
pthread_np.h Include pthread.h to make this header standalone (needs pthread_t and others) 2019-05-28 10:33:03 +00:00
pthread.h #define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch 2018-03-05 01:15:24 +00:00
pwd.h Add uid_from_user() and gid_from_group(), derived from pax's cache.c. 2018-09-13 12:31:15 +00:00
ranlib.h
readpassphrase.h I am retiring my old email address; replace it with my OpenBSD one. 2019-01-25 00:19:25 +00:00
regex.h
resolv.h Implement rfc6840 (AD flag processing) if using trusted name servers 2021-11-22 20:18:27 +00:00
rmd160.h
sched.h Move the thread-related .h files to /usr/src/include/, since the 2017-10-15 23:40:33 +00:00
search.h Change lsearch()'s "base" argument to require a non-const pointer to 2014-07-18 04:16:09 +00:00
semaphore.h Move the thread-related .h files to /usr/src/include/, since the 2017-10-15 23:40:33 +00:00
setjmp.h Stop supporting longjmperror(); it's not used, not portable, and the checks 2016-05-23 00:18:56 +00:00
sha1.h
sha2.h i forgot to commit sha2.h changes for SHA512/256 2016-09-03 17:00:29 +00:00
signal.h The open POSIX test suite reveals that sigpause(int sigmask) from 2018-05-30 13:20:38 +00:00
siphash.h spelling fixes; from paul tagliamonte 2022-12-27 07:44:56 +00:00
sndio.h sndio: Add a display string to the sioctl_open API 2024-05-24 15:10:26 +00:00
spawn.h Remove function argument name from posix_spawnattr_getsigmask() 2015-05-20 22:50:07 +00:00
stdbool.h These days pcc defines __GNUC__ and we don't support gcc2. Also needed 2015-09-04 23:47:09 +00:00
stddef.h Add max_align_t. 2017-01-06 14:36:50 +00:00
stdio.h funopen(): change seekfn argument to use off_t, not fpos_t 2022-01-05 20:57:27 +00:00
stdlib.h Add mkdtemps(3), like mkdtemp(3) but with a suffix. 2024-03-01 21:30:40 +00:00
string.h strmode takes a mode_t, not an int; prompted by Collin Funk. 2024-06-23 07:08:26 +00:00
strings.h str[n]casecmp_l(3) appeared in POSIX 2008, not in XPG 4; 2017-09-10 21:50:36 +00:00
sysexits.h
tar.h
tgmath.h
tib.h Make sure TIB_INIT correctly initializes tib_thread_flags; regression 2023-12-08 19:14:36 +00:00
time.h Move CLOCKS_PER_SEC to sys/_time.h so the kernel has access to it. 2022-10-25 16:30:30 +00:00
ttyent.h
uchar.h According to the C11 standard, char32_t and char16_t are not part 2023-09-05 23:16:01 +00:00
unistd.h getentropy(2) is in POSIX-2024, so adjust the #include visibility, 2024-08-02 01:53:21 +00:00
utime.h
utmp.h Delete struct definitions that have been obsolete for a dozen years 2014-01-08 06:50:57 +00:00
uuid.h Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via 2014-08-31 09:36:36 +00:00
vis.h Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@ 2015-07-20 01:52:27 +00:00
wchar.h Add wcsnlen(3) declaration, missed in previous. 2024-07-14 10:04:17 +00:00
wctype.h New POSIX xlocale implementation written from scratch. 2017-09-05 03:16:13 +00:00