tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
include
/
at
master
4 folders
88 files
arpa
spelling fixes; from paul tagliamonte
3 years ago
protocols
Rearrange variables in dump / restore to handle -fno-common.
5 years ago
rpc
spelling fixes; from paul tagliamonte
3 years ago
rpcsvc
spelling fixes; from paul tagliamonte
3 years ago
Makefile
Nuke disktab.h references in preparation for nuking disktab.h.
3 years ago
a.out.h
ar.h
asr.h
Allow the caller of asr functions to create and use a specific context. Diff from eric@ and florian@, commiting on their behalf since they are absent and we want to ride the minor shlib bump.
6 years ago
assert.h
Use __STDC_VERSION__ instead of __ISO_C_VISIBLE to guard _Static_assert. We need to test what the compiler supports, not what the C library provides. This prevents static_assert from being defined when compiling with the in-tree gcc (4.2.1) which does not support _Static_assert.
5 years ago
bitstring.h
Use a double-underscore prefix for local variables declared in macros that have arguments. Document this requirement/recommendation in style(9)
6 years ago
blf.h
Niels agreed to remove the advertising clause; switching these to 3-term BSD license.
4 years ago
bsd_auth.h
As per style.9, prototypes should not have variable names associated with the types.
9 years ago
complex.h
cpio.h
ctype.h
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
curses.h
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
db.h
Move the last of the __DBINTERFACE_PRIVATE bits from <db.h> to libc's wrapper and eliminate the now superfluous -D option
10 years ago
dirent.h
Move the 10 (!) defintions of NULL to their own mini header file and update the NULL definition for C++11. OK deraadt@ guenther@ kettenis@
9 years ago
dlfcn.h
Add #define for RTLD_NOLOAD missed in last ld.so commit.
3 years ago
elf.h
<elf.h> should make it easier to port our ELF-related tools to other Unices.
8 years ago
elf_abi.h
err.h
Add framework for resolving (pun intended) libc namespace issues, using wrapper .h files and asm labels to let internal calls resolve directly and not be overridable or use the PLT. Then, apply that framework to most of the functions in stdio.h, string.h, err.h, and wchar.h. Delete the should-have-been-hidden-all-along _v?(err|warn)[cx]? symbols while here.
10 years ago
errno.h
___errno (three underbars) is long gone
8 years ago
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.
7 years ago
getopt.h
glob.h
Make gl_pathc, gl_matchc and gl_offs size_t in glob_t to match POSIX. This requires a libc major version bump. OK deraadt@
7 years ago
grp.h
Add uid_from_user() and gid_from_group(), derived from pax's cache.c. It replaces the existing pwcache.c functions user_from_uid(3) and group_from_gid(3) with the pax equivalents. Adapted from NetBSD (mycroft) changes from our own pax's cache.c. OK guenther@
7 years ago
icdb.h
Make the key sizes and offsets arrays const, ok tedu
9 years ago
ieeefp.h
ifaddrs.h
inttypes.h
POSIX 2008 TC2 requires <inttypes.h> to provide wchar_t
3 years ago
iso646.h
kvm.h
langinfo.h
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
libgen.h
Align the basename(3) and dirname(3) prototypes with the POSIX spec: Both functions take a non-const parameter. Implementations may modify the passed string, even though ours do not.
5 years ago
limits.h
increase TMP_MAX to the equivalent of INT_MAX. it's actually more, but safer not to wraparound by accident. ok deraadt millert miod
11 years ago
link.h
link_elf.h
When it's the possessive of 'it', it's spelled "its", without the apostrophe.
4 years ago
locale.h
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
login_cap.h
add rtable capability to login.conf. from Matthew Martin
4 years ago
math.h
Implement sicos(3), sincosf(3) and sincosl(3). These functions are common extensions and modern compilers (such as clang) will use them to optimize separate calculations of sine and cosine.
8 years ago
md5.h
memory.h
ndbm.h
netdb.h
Stop including <sys/param.h> from <netdb.h>. Portable software must either include <sys/param.h> (to operate in legacy mode) or if it wishes to operate in the POSIX world use <limits.h> ok guenther millert doug naddy
11 years ago
netgroup.h
Christos Zoulas agreed to rescind clause 3 and 4 in NetBSD fsck.8 rev 1.35 fsutil.h rev 1.14 pathnames.h rev 1.2 netgroup_mkdb.8 rev 1.9 netgroup_mkdb.c rev 1.18 str.c rev 1.7 str.h rev 1.4 rdate.8 rev 1.11 rdate.c rev 1.19 extern.h rev 1.14 getnetgrent.c rev 1.41 netgroup.h rev 1.10 fparseln.3 rev 1.4 fparseln.c rev 1.10
3 years ago
nl_types.h
nlist.h
paths.h
add /usr/local/sbin. ok deraadt millert
6 years ago
poll.h
pthread.h
#define _MAX_PAGE_SHIFT in MD _types.h as the maximum pagesize an arch needs (looking at you sgi, but others required this before). This is for the circumstances we need pagesize known at compile time, not getpagesize() runtime. Use it for malloc storage sizes, for shm, and to set pthread stack default sizes. The stack sizes were a mess, and pushing them towards page-aligned is healthy move (which will also be needed by the coming stack register checker) ok guenther kettenis, discussion with stefan
8 years ago
pthread_np.h
Include pthread.h to make this header standalone (needs pthread_t and others)
6 years ago
pwd.h
Add uid_from_user() and gid_from_group(), derived from pax's cache.c. It replaces the existing pwcache.c functions user_from_uid(3) and group_from_gid(3) with the pax equivalents. Adapted from NetBSD (mycroft) changes from our own pax's cache.c. OK guenther@
7 years ago
ranlib.h
readpassphrase.h
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
regex.h
resolv.h
Implement rfc6840 (AD flag processing) if using trusted name servers
4 years ago
rmd160.h
sched.h
Move the thread-related .h files to /usr/src/include/, since the implementation is now spread between libc and librthread. No changes to the content
8 years ago
search.h
semaphore.h
Move the thread-related .h files to /usr/src/include/, since the implementation is now spread between libc and librthread. No changes to the content
8 years ago
setjmp.h
Stop supporting longjmperror(); it's not used, not portable, and the checks longjmp performs can't really be relied upon, even after we got rid of the false positives...
10 years ago
sha1.h
sha2.h
i forgot to commit sha2.h changes for SHA512/256
9 years ago
signal.h
The open POSIX test suite reveals that sigpause(int sigmask) from 4.2 BSD takes a signal mask as argument while POSIX sigpause(int sig) expects a single signal. Do not expose our traditional BSD sigpause(3) to XPG/POSIX sources. OK guenther@
7 years ago
siphash.h
spelling fixes; from paul tagliamonte
3 years ago
sndio.h
Add sio_flush(3) function to stop playback immediately
4 years ago
spawn.h
Remove function argument name from posix_spawnattr_getsigmask() prototype to match other prototypes in the file. OK guenther@ deraadt@
11 years ago
stdbool.h
These days pcc defines __GNUC__ and we don't support gcc2. Also needed for upcoming CompCert port.
10 years ago
stddef.h
Add max_align_t.
9 years ago
stdio.h
funopen(): change seekfn argument to use off_t, not fpos_t On BSD, fpos_t is typedef'd to off_t but some systems use a struct. This means fpos_t is not a portable function argument or return value. Both FreeBSD and the Linux libbsd funopen() have switched to off_t for this--we should too. From Joe Nelson. OK deraadt@
4 years ago
stdlib.h
Inroduce malloc_conceal() and calloc_conceal(). Similar to their counterparts but return memory in pages marked MAP_CONCEAL and on free() freezero() is actually called.
7 years ago
string.h
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
strings.h
str[n]casecmp_l(3) appeared in POSIX 2008, not in XPG 4; phessler@ reported that this oversight broke an armv7 bulk build; OK guenther@
8 years ago
sysexits.h
tar.h
tgmath.h
tib.h
spelling fixes; from paul tagliamonte
3 years ago
time.h
Move CLOCKS_PER_SEC to sys/_time.h so the kernel has access to it. This will be used in waitid(2) to set si_utime and si_stime. The definition of struct timespec also moves from time.h to sys/_time.h for struct itimerspec. OK kettenis@
3 years ago
ttyent.h
unistd.h
Add {get,set}thrname(2) for putting thread names in the kernel and exposed in a new field returned by sysctl(KERN_PROC). Update pthread_{get,set}_name_np(3) to use the syscalls. Show them, when set, in ps -H and top -H output.
3 years ago
utime.h
utmp.h
uuid.h
vis.h
Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@
10 years ago
wchar.h
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago
wctype.h
New POSIX xlocale implementation written from scratch. Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8.
8 years ago