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
rk3128
4 folders
90 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
Prepare for gcc 3 leaving the building, COMPILER_VERSION can no longer get set to "gcc3".
5 months ago
a.out.h
a.out is no longer the commonly encountered binary file format, the world has moved to ELF.
1 year ago
ar.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
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
Evaluate arguments of bitstring macros only once.
2 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
lint is dead (long live the lint!), so stop using it as a cpp conditional (namespace pollution!) or talking about its opinion on code.
12 years ago
cpio.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
ctype.h
Move ctype.h defines to the _CTYPE_ prefix, avoids clashes with identifiers in ports
2 years ago
curses.h
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
db.h
oops, deleted the wrong side of the #ifdef
4 weeks ago
dirent.h
Add scandirat(3); from freebsd
2 years ago
dlfcn.h
dladdr(3) is in POSIX-2024, though the structure type was renamed to match Solaris and _not_ match glibc/BSDs and no one caught it before publication. Provide the new name but keep providing the existing names under the same conditions as before. Update #include visibility and dlfcn(3) manpage and add restrict qualifiers.
2 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
Moved contents into sys/exec_elf.h. elf_abi.h includes the sys version.
30 years ago
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
Also enclose variable names with external linkage in __BEGIN_DECLS.
15 years ago
float.h
create new machine/_float.h which is namespace clean. create a new MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
13 years ago
fnmatch.h
First step in include files overhaul. Use __FOO_VISIBLE (as defined in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
20 years ago
fstab.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
fts.h
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
ftw.h
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
getopt.h
The getopt() prototype and externs don't belong in stdlib.h. Berkeley moved them to unistd.h to match POSIX in 1995 but we never did. The exception to this is getsubopt() which POSIX says should be in stdlib.h. The non-standard suboptarg extern remains in the BSD-only section of stdlib.h. Neither getsubopt() nor suboptarg belong in unistd.h or getopt.h. They were only there to allow us to protect all the getopt() bits from being multiply defined. OK guenther@
12 years ago
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
use c calling conventions so that g++ doesn't mangle fpgetmask & friends' names unbreaking at least enblend-enfuse & inkscape on macppc & alpha reported, tested: ajacoutot@, sthen@ ok: millert@, otto@
16 years ago
ifaddrs.h
Remove unnecessary typedef usage.
22 years ago
inttypes.h
POSIX 2008 TC2 requires <inttypes.h> to provide wchar_t
3 years ago
iso646.h
C++ has all those as built-ins. Problem found with gcc 3.0.1 testsuite.
24 years ago
kvm.h
- add UNIX-domain socket info to struct kinfo_file2 - convert netstat from kvm_getfiles() to kvm_getfile2() using that - delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major) - rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file and KERN_FILE2 to KERN_FILE.
12 years ago
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
Remove more knowledge of a.out and stab information from the tree. ok miod
12 years ago
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
Stop doing XDG setup in setusercontext(LOGIN_SETALL)
4 months 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
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
memory.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
ndbm.h
Make ndbm match POSIX. A datum consists of a void *dptr and a size_t dsize. Also make the open functions take a mode_t, not int. OK deraadt@
22 years ago
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
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
nlist.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
paths.h
add /usr/local/sbin. ok deraadt millert
6 years ago
poll.h
PD
22 years ago
pthread.h
bump PTHREAD_KEYS_MAX to 512
4 months 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
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
readpassphrase.h
I am retiring my old email address; replace it with my OpenBSD one.
7 years ago
regex.h
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
resolv.h
Implement rfc6840 (AD flag processing) if using trusted name servers
4 years ago
rmd160.h
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
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
Change lsearch()'s "base" argument to require a non-const pointer to align with POSIX and other systems.
11 years ago
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
Remove excessive sys/cdefs.h inclusion ok guenther millert kettenis
13 years ago
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
siphash.h needs to include stddef.h for size_t and stdint.h for uint64_t and friends. OK tb@ miod@
11 months ago
sndio.h
libsndio: Increase the length of display strings and control names
2 months 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
Make the FILE object opaque. Move the __sFILE definition into libc/hidden/_stdio.h. All programs that refer to the internal structure of the FILE object can't be compiled from now on. std{in,out,err} doesn't refer __sF[] now, but the hidden __sF along with __srget and __swbuf symbols are kept temporarily to make our transition easier. But those symbols will be deleted soon. The shared library versions are bumped for libc and all the other libraries that refer to std{in,out,err}.
8 months ago
stdio_ext.h
Add <stdio_ext.h> with the seven APIs needed to have gnulib operate without poking directly into the FILE structure.
2 years ago
stdlib.h
mkostemp(3) and reallocarray(3) are in POSIX-2024: adjust #include visibility and update the reallocarray(3) manpage
2 years ago
string.h
The improbable occurred: strlcpy(3) and strlcat(3) are in POSIX-2024. memmem(3) was also added. Update #include visibility and manpages and add restrict qualifiers.
2 years ago
strings.h
Implement ffsl() and ffsll() using the compiler builtin __builtin_ctzl now that all archs use at least gcc4. ffsl() and ffsll() are now part of POSIX. OK deraadt@, input from miod@ and jsg@
5 months ago
sysexits.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
tar.h
First pass at removing clauses 3 and 4 from NetBSD licenses.
18 years ago
tgmath.h
Add support for tgmath--the type-generic math; now that both math and complex math routines are complete. OK kettenis@.
14 years ago
tib.h
Make sure TIB_INIT correctly initializes tib_thread_flags; regression introduced in 1.3, causing sporadic pthread_main_np() erroneous results (and possibly more subtle problems).
2 years ago
time.h
time.h: const correct tm_zone in struct tm
4 months ago
ttyent.h
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
23 years ago
uchar.h
According to the C11 standard, char32_t and char16_t are not part of the C language but are part of the C library and have to be declared in <uchar.h> - see paragraph 7.28.2.
2 years ago
unistd.h
Drop variable names from the swapctl(2) prototype, per style(9).
6 months ago
utime.h
Pull in <sys/_types.h> instead of <machine/_types.h> in prep for the future
13 years ago
utmp.h
Delete struct definitions that have been obsolete for a dozen years
12 years ago
uuid.h
Add uuid support routines to libc. From FreeBSD via NetBSD via Bitrig via Markus Mueller.
11 years ago
vis.h
Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@
10 years ago
wchar.h
Make the FILE object opaque. Move the __sFILE definition into libc/hidden/_stdio.h. All programs that refer to the internal structure of the FILE object can't be compiled from now on. std{in,out,err} doesn't refer __sF[] now, but the hidden __sF along with __srget and __swbuf symbols are kept temporarily to make our transition easier. But those symbols will be deleted soon. The shared library versions are bumped for libc and all the other libraries that refer to std{in,out,err}.
8 months 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