summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fixed missing declaration of ctermid_r(3).bde1999-12-231-0/+1
|
* Fixed missing declaration of getlogin_r(3).bde1999-12-231-0/+2
|
* Fixed missing declaration of rand_r(3).bde1999-12-231-0/+2
|
* Fixed missing declaration of getdents(2).bde1999-12-231-0/+1
|
* Fix some minor POSIX/SUSv2 compliance nits.jasone1999-12-181-4/+2
| | | | PR: kern/11982
* Back up following macros by functions: ishexnumber, isideogram, isnumber,phantom1999-12-172-10/+20
| | | | | | isphonogram, isrune, isspecial. Fix ordering. Reviewed by: bde
* Move POSIX feature constants from pthread.h to unistd.h, as required byjasone1999-12-161-17/+0
| | | | | | | | | | | | | | 1003.1c-1995. Undefine _POSIX_THREAD_SAFE_FUNCTIONS, since we do not implement all of the necessary interfaces. At least getgrgid_r(), getrnam_r(), getpwuid_r(), getpwnam_r(), getc_unlocked(), getchar_unlocked(), putc_unlocked(), and putchar_unlocked() are missing. Due to a likely typo in 1003.1c-1995, we are not technically allowed to define _POSIX_THREADS without defining _POSIX_THREAD_SAFE_FUNCTIONS, but either way we're non-compliant, so I'm leaving _POSIX_THREADS defined. PR: bin/8281
* Revert previous commit.marcel1999-12-091-25/+58
| | | | Requested by: bde
* Remove support for symlinks instead of copies. This also avoidsmarcel1999-12-081-58/+25
| | | | using mtree. Space is being saved by other means.
* Create a symlink for <machine/joystick.h>, like soundcard.hpeter1999-12-051-1/+1
|
* Added ntfs subdir to be filled.semenu1999-12-031-1/+1
|
* style fixes, remove extra braces.alfred1999-11-291-3/+1
| | | | | | | | | | | | readdir_r is not POSIX according to POSIX_SOURCE, bruce says: > readdir_r() is in the _POSIX_SOURCE section, but is not a POSIX.1-1990 > function. It's POSIX.1-1996 so it should be under a different feature > test which we don't support yet. make sure errno is saved so that its contents are cleared unless necessary. Submitted by: bde
* add pthread_cancel, obtained from OpenBSD.alfred1999-11-282-7/+18
| | | | | | | | | | | | | | eischen (Daniel Eischen) added wrappers to protect against cancled threads orphaning internal resources. the cancelability code is still a bit fuzzy but works for test programs of my own, OpenBSD's and some examples from ORA's books. add readdir_r to both libc and libc_r add some 'const' attributes to function parameters Reviewed by: eischen, jasone
* Add FNM_FILE_NAME - GNU alias to FNM_PATHNAMEache1999-11-211-0/+5
| | | | Move all excepting NOESCAPE,PATHNAME,PERIOD under !defined(_POSIX_SOURCE)
* Add missing netinet6.jlemon1999-11-051-2/+2
| | | | Detected by: make world
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-2/+2
| | | | | | | | | | Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
* Make libncp actually compiled.bp1999-10-141-2/+2
| | | | Reviewed by: mdodd
* Complete move of kvm.h to lib/libkvm so it's self contained.peter1999-10-042-97/+1
|
* Link ucontext.h to sys/ucontext.hmarcel1999-10-032-37/+2
| | | | Pointed out by: bde
* Remove the inline versions of sigaddset, sigdelset, sigemptyset,marcel1999-10-021-53/+0
| | | | | | sigfillset and sigismember. Submitted by: bde
* sigset_t change (part 5 of 5)marcel1999-09-292-8/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* Zap $Revision$peter1999-09-051-1/+0
|
* Only install backwards compat symlink for <machine/soundcard.h> if usingpeter1999-09-051-5/+5
| | | | | | | | the default SHARED=copies, otherwise the kernel source tree gets modified if /usr/include/machine is a symlink to the source tree (which is not the case by default). Nothing in our src tree uses <machine/soundcard.h>. Pointed out by: bde
* Install a symlink for <machine/soundcard.h> -> <sys/soundcard.h> ratherpeter1999-09-041-0/+5
| | | | than having stubs. (OK'ed by dfr)
* Add definition for RTLD_GLOBAL, which is soon to be supported.jdp1999-08-301-1/+3
|
* $Header$ -> $FreeBSD$peter1999-08-281-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-2759-62/+78
|
* Add 2 functions: el_data_set() and el_data_get() which do what youmdodd1999-08-201-1/+4
| | | | | | | | would expect. (Allow user data to be associated with an EditLine context). As this changes no existing interfaces and doesn't alter any structs visable to the user I've been told that its not necessary to bump the version of the library.
* Add prototypes for strl* functionsimp1999-08-161-0/+2
| | | | | Forgotten by: imp Reported by: bde
* Cleanups to the pthread header files.rse1999-07-312-26/+26
| | | | | Submitted by: Ralf S. Engelschall <rse@engelschall.com> Reviewed by: John Birrell <jb@cimlogic.com.au>
* Hide pthread cancellation routines behind #ifdef NOT_YET. They aredeischen1999-07-271-3/+7
| | | | | | | | | not currently supported. Also corrected the declaration for pthread_testcancel which incorrectly returned int when POSIX and SUSv2 both say it should be void. Submitted by: Ralf S. Engelschall <rse@engelschall.com> Reviewed by: John Birrell <jb@freebsd.org>
* Make profil() 64bit-safe for alpha.simokawa1999-07-161-1/+1
| | | | | | | uintfptr_t may be better for offset, but we must wait until the definition of uintfptr_t moves from machine/profile.h. Reviewed by: bde
* Allow fpsetmask(3) and friends to be used from a C++ program on the Alpha.steve1999-06-221-0/+2
| | | | Reviewed by: dfr
* Add missing declarations.sheldonh1999-06-211-0/+2
| | | | | PR: 12058 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
* Change an internal variable from "class" to "ns_class" for C++'s benefit.peter1999-06-041-3/+3
| | | | | | Apparently BIND-8.2.1 uses ns_class. Submitted by: John Plevyak <jplevyak@inktomi.com>
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherpeter1999-05-182-0/+2
| | | | systems. NetBSD, Linux, SVR4 etc all have it.
* Restored rev.1.11 which was clobbered by rev.1.12 (translated to `C').bde1999-05-111-2/+2
|
* Protect declarations for C++ users.jkh1999-05-081-1/+3
| | | | Submitted by: Richard Wiwatowski <rjwiwat@ozemail.com.au>
* 16 characters for the device name in /etc/dumpdates is not longnectar1999-05-081-2/+2
| | | | | | | enough, particularly when using vinum. Allow 32 characters (arbitrary, I know) instead. PR: bin/11433
* Part of routed upgrade.markm1999-05-021-4/+4
| | | | Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com>
* Back out my change from 6 April PDT that added a new dlversion()jdp1999-04-221-1/+0
| | | | | | | function. It was an ill-considered feature. It didn't solve the problem I wanted it to solve. And it added Yet Another Version Number that would have to be maintained at every release point. I'm nuking it now before anybody grows too fond of it.
* Oops, the previous log message should have been:bde1999-04-101-1/+1
| | | | | | | | Include <machine/ansi.h> so that this file is self-sufficient again. Rev.1.6 doesn't do this as claimed unless <nlist.h> has nonstandard pollution. Cleaned up includes.
* Declare mkstemps().bde1999-04-092-4/+6
|
* Add a new function dlversion() which returns the version number ofjdp1999-04-071-1/+2
| | | | | | the dynamic linker in the same form as __FreeBSD_version. This is mainly intended for checking the dynamic linker version during a make world.
* Add prototypes for pread and pwrite.dt1999-04-041-0/+2
|
* o Runnable threads are now maintained in priority queues. Thejb1999-03-232-36/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implementation requires two things: 1.) The priority queues must be protected during insertion and removal of threads. Since the kernel scheduler must modify the priority queues, a spinlock for protection cannot be used. The functions _thread_kern_sched_defer() and _thread_kern_sched_undefer() were added to {un}defer kernel scheduler activation. 2.) A thread (active) priority change can be performed only when the thread is removed from the priority queue. The implementation uses a threads active priority when inserting it into the queue. A by-product is that thread switches are much faster. A separate queue is used for waiting and/or blocked threads, and it is searched at most 2 times in the kernel scheduler when there are active threads. It should be possible to reduce this to once by combining polling of threads waiting on I/O with the loop that looks for timed out threads and the minimum timeout value. o Functions to defer kernel scheduler activation were added. These are _thread_kern_sched_defer() and _thread_kern_sched_undefer() and may be called recursively. These routines do not block the scheduling signal, but latch its occurrence. The signal handler will not call the kernel scheduler when the running thread has deferred scheduling, but it will be called when running thread undefers scheduling. o Added support for _POSIX_THREAD_PRIORITY_SCHEDULING. All the POSIX routines required by this should now be implemented. One note, SCHED_OTHER, SCHED_FIFO, and SCHED_RR are required to be defined by including pthread.h. These defines are currently in sched.h. I modified pthread.h to include sched.h but don't know if this is the proper thing to do. o Added support for priority protection and inheritence mutexes. This allows definition of _POSIX_THREAD_PRIO_PROTECT and _POSIX_THREAD_PRIO_INHERIT. o Added additional error checks required by POSIX for mutexes and condition variables. o Provided a wrapper for sigpending which is marked as a hidden syscall. o Added a non-portable function as a debugging aid to allow an application to monitor thread context switches. An application can install a routine that gets called everytime a thread (explicitly created by the application) gets context switched. The routine gets passed the pthread IDs of the threads that are being switched in and out. I found this useful, but we can get rid of it if you want. Submitted by: Dan Eischen <eischen@vigrid.com>
* Nuke old copies of /usr/include/timepps.hphk1999-03-221-1/+2
|
* Remove <timepps.h> here as well.phk1999-03-111-2/+2
| | | | | You will need to manually rip it from /usr/include if it gives you any trouble.
* removed from PPS-API draftphk1999-03-111-86/+0
|
* Use __i386__ instead of i386 in an ifdef.bde1999-03-051-3/+3
|
OpenPOWER on IntegriCloud