aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Zap $Revision$Peter Wemm1999-09-051-1/+0
| | | | Notes: svn path=/head/; revision=50968
* Only install backwards compat symlink for <machine/soundcard.h> if usingPeter Wemm1999-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 Notes: svn path=/head/; revision=50949
* Install a symlink for <machine/soundcard.h> -> <sys/soundcard.h> ratherPeter Wemm1999-09-041-0/+5
| | | | | | | than having stubs. (OK'ed by dfr) Notes: svn path=/head/; revision=50914
* Add definition for RTLD_GLOBAL, which is soon to be supported.John Polstra1999-08-301-1/+3
| | | | Notes: svn path=/head/; revision=50603
* $Header$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50488
* $Id$ -> $FreeBSD$Peter Wemm1999-08-2759-62/+78
| | | | Notes: svn path=/head/; revision=50473
* Add 2 functions: el_data_set() and el_data_get() which do what youMatthew N. Dodd1999-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. Notes: svn path=/head/; revision=50070
* Add prototypes for strl* functionsWarner Losh1999-08-161-0/+2
| | | | | | | | Forgotten by: imp Reported by: bde Notes: svn path=/head/; revision=49875
* Cleanups to the pthread header files.Ralf S. Engelschall1999-07-312-26/+26
| | | | | | | | Submitted by: Ralf S. Engelschall <rse@engelschall.com> Reviewed by: John Birrell <jb@cimlogic.com.au> Notes: svn path=/head/; revision=49307
* Hide pthread cancellation routines behind #ifdef NOT_YET. They areDaniel Eischen1999-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> Notes: svn path=/head/; revision=49127
* Make profil() 64bit-safe for alpha.Hidetoshi Shimokawa1999-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 Notes: svn path=/head/; revision=48835
* Allow fpsetmask(3) and friends to be used from a C++ program on the Alpha.Steve Price1999-06-221-0/+2
| | | | | | | Reviewed by: dfr Notes: svn path=/head/; revision=48106
* Add missing declarations.Sheldon Hearn1999-06-211-0/+2
| | | | | | | | PR: 12058 Submitted by: Mikhail Teterin <mi@aldan.algebra.com> Notes: svn path=/head/; revision=48081
* Change an internal variable from "class" to "ns_class" for C++'s benefit.Peter Wemm1999-06-041-3/+3
| | | | | | | | | Apparently BIND-8.2.1 uses ns_class. Submitted by: John Plevyak <jplevyak@inktomi.com> Notes: svn path=/head/; revision=47742
* Add a strsignal(3) (like strerror(3)) for libc compatability with otherPeter Wemm1999-05-182-0/+2
| | | | | | | systems. NetBSD, Linux, SVR4 etc all have it. Notes: svn path=/head/; revision=47289
* Restored rev.1.11 which was clobbered by rev.1.12 (translated to `C').Bruce Evans1999-05-111-2/+2
| | | | Notes: svn path=/head/; revision=46990
* Protect declarations for C++ users.Jordan K. Hubbard1999-05-081-1/+3
| | | | | | | Submitted by: Richard Wiwatowski <rjwiwat@ozemail.com.au> Notes: svn path=/head/; revision=46673
* 16 characters for the device name in /etc/dumpdates is not longJacques Vidrine1999-05-081-2/+2
| | | | | | | | | | enough, particularly when using vinum. Allow 32 characters (arbitrary, I know) instead. PR: bin/11433 Notes: svn path=/head/; revision=46663
* Part of routed upgrade.Mark Murray1999-05-021-4/+4
| | | | | | | Submitted by: Vernon Schryver <vjs@calcite.rhyolite.com> Notes: svn path=/head/; revision=46305
* Back out my change from 6 April PDT that added a new dlversion()John Polstra1999-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. Notes: svn path=/head/; revision=45929
* Oops, the previous log message should have been:Bruce Evans1999-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. Notes: svn path=/head/; revision=45525
* Declare mkstemps().Bruce Evans1999-04-092-4/+6
| | | | Notes: svn path=/head/; revision=45513
* Add a new function dlversion() which returns the version number ofJohn Polstra1999-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. Notes: svn path=/head/; revision=45398
* Add prototypes for pread and pwrite.Dmitrij Tejblum1999-04-041-0/+2
| | | | Notes: svn path=/head/; revision=45315
* o Runnable threads are now maintained in priority queues. TheJohn Birrell1999-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> Notes: svn path=/head/; revision=44965
* Nuke old copies of /usr/include/timepps.hPoul-Henning Kamp1999-03-221-1/+2
| | | | Notes: svn path=/head/; revision=44937
* Remove <timepps.h> here as well.Poul-Henning Kamp1999-03-111-2/+2
| | | | | | | | You will need to manually rip it from /usr/include if it gives you any trouble. Notes: svn path=/head/; revision=44667
* removed from PPS-API draftPoul-Henning Kamp1999-03-111-86/+0
| | | | Notes: svn path=/head/; revision=44665
* Use __i386__ instead of i386 in an ifdef.Bruce Evans1999-03-051-3/+3
| | | | Notes: svn path=/head/; revision=44492
* Added functions fseeko() and ftello() (from susv2).Dmitrij Tejblum1999-02-081-1/+3
| | | | | | | | | | Fixed fgetpos() and fsetpos() for offsets > 2GB. PR: 8637 Submitted by: Dan Nelson <dnelson@emsphone.com> (adjusted by me a little) Notes: svn path=/head/; revision=43782
* Removed evil typedef kvm_swap_t and all uses of it (not many).Bruce Evans1999-01-271-5/+5
| | | | | | | Hoped for by: wollman Notes: svn path=/head/; revision=43282
* Oops, forgot this. Needed by libkvm.Matthew Dillon1999-01-231-1/+14
| | | | Notes: svn path=/head/; revision=43085
* Add a prototype for strtok_r().John Polstra1999-01-201-0/+1
| | | | Notes: svn path=/head/; revision=42913
* Use the correct type for uid and gid in struct passwd. Document it.Dag-Erling Smørgrav1999-01-181-2/+2
| | | | Notes: svn path=/head/; revision=42780
* Install <sys/aio.h> as <aio.h>.Dmitrij Tejblum1999-01-171-2/+2
| | | | Notes: svn path=/head/; revision=42774
* Instead of a wrapper <linker_set.h>, use a symlink toJohn Polstra1999-01-142-37/+3
| | | | | | | | | <sys/linker_set.h>. Submitted by: bde Notes: svn path=/head/; revision=42663
* Add a wrapper <linker_set.h> for <sys/linker_set.h>, so thatJohn Polstra1999-01-142-2/+36
| | | | | | | userland programs can use linker sets. Notes: svn path=/head/; revision=42646
* optreset is a POSIX extension, make it visible in POSIX_SOURCE scope.Mike Smith1999-01-111-1/+1
| | | | | | | Submitted by: Andrzej Bialecki <abial@nask.pl> Notes: svn path=/head/; revision=42518
* Move nologin from /etc to /var/run. This means one less file that hasSatoshi Asami1999-01-111-1/+1
| | | | | | | | | | | | to be written to /etc. The only essential change is in paths.h, so any third-party software written correctly will pick it up in the next rebuild. Reviewed by: the committers list (actually an old version) Notes: svn path=/head/; revision=42515
* POSIX introduced optreset to deal with multiple invocationsMike Smith1999-01-111-0/+1
| | | | | | | | | | | | | of getopt (as in, multiple input lines :). This is documented in the man page and is used in the code, but unistd.h and stand.h do not declare it. Incidentally, it prevents me fixing a bug in loader's code... :-) PR: misc/9373 Submitted by: "Daniel C. Sobral" <dcs@newsguy.com> Notes: svn path=/head/; revision=42511
* Make ctime_r, asctime_r, gmtime_r, and localtime_r available in libc.Dmitrij Tejblum1999-01-041-7/+4
| | | | Notes: svn path=/head/; revision=42293
* Implement fpsetmask() and other fp*() functions. Programs should useDoug Rabson1998-12-232-2/+27
| | | | | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Notes: svn path=/head/; revision=42029
* Install <sys/inttypes.h> as <inttypes.h>.Dmitrij Tejblum1998-12-191-2/+2
| | | | Notes: svn path=/head/; revision=41928
* Little reorganization:Dmitrij Tejblum1998-12-191-5/+3
| | | | | | | | | | | | | - created internal names for fixed-size integral types, like __int32_t. They will be used to make several headers self-sufficient. - <stdlib.h> don't include <machine/types.h> anymore. - created <sys/inttypes.h>, which can be used as <inttypes.h>. - declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>. Reviewed by: bde Notes: svn path=/head/; revision=41927
* Declare size_t and ssize_t if they are not already declared, so thatBruce Evans1998-12-161-6/+15
| | | | | | | | | | | | | | | | | | <kvm.h> is self-sufficient again. Moved typedefs and forward struct declarations out of __BEGIN_DECLS/ __END_DECLS. Don't comment out the prototype for kvm_uread(). This was a 4 year old kludge for previous breakage of self-sufficiency. The prototypwe was broken instead. Fixed bitrot (const poisoning) in the type of kvm_uread(). Fixed order of the declaration of kvm_uread(). Notes: svn path=/head/; revision=41882
* Make this protototype of mmap return void *, like two other copies.Dmitrij Tejblum1998-12-141-2/+2
| | | | Notes: svn path=/head/; revision=41798
* Make rcsid a const char[] instead of char[] to avoid compiler warningsArchie Cobbs1998-12-0610-10/+10
| | | | Notes: svn path=/head/; revision=41557
* Add support for pthread_mutexattr_settype(). As a side effect ofEivind Eklund1998-11-281-2/+8
| | | | | | | testing this, fix MUTEX_TYPE_COUNTING_FAST. Recursive locks now work. Notes: svn path=/head/; revision=41390
* Don't forget to use the appropriate __printf*like attribute for verr*Bruce Evans1998-11-221-11/+14
| | | | | | | | | | | and vwarn*. Sorted attributes. UnFrom'ed vendor id. Notes: svn path=/head/; revision=41284
* 64bit clean nowDima Ruban1998-11-081-1/+1
| | | | Notes: svn path=/head/; revision=40999