summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Since speaker.h now lives in sys/dev/speaker, reflect this fact here.delphij2005-11-111-1/+1
|
* Add POSIX timer interfaces.davidxu2005-10-301-1/+9
|
* Add prototype for following functions, plus tab fixes.davidxu2005-10-241-5/+8
| | | | | | | pthread_condattr_getpshared pthread_condattr_setpshared pthread_mutexattr_getpshared pthread_mutexattr_setpshared
* Use __pid_t instead of pid_t for sigqueue as other functions.davidxu2005-10-161-1/+1
|
* Add sigqueue function prototype.davidxu2005-10-141-9/+2
|
* Add pthread_timedjoin_np prototype.davidxu2005-10-041-0/+1
|
* Add the lmcconfig tool for controlling the lmc driver. Add man pages andscottl2005-10-031-1/+1
| | | | | | glue. Submitted by: David Boggs
* Back out 1.247. On ia64 <osreldate.h> is included from assembler source,stefanf2005-09-141-1/+0
| | | | | | the prototype broke buildword. Noticed by: marcel
* Put a getosreldate() prototype into <osreldate.h>, getosreldate(3) impliesstefanf2005-09-121-0/+1
| | | | there is one.
* Fix the prototypes for devname() and devname_r(), the first two argumentstefanf2005-09-121-2/+2
| | | | | types are supposed to be dev_t and mode_t (prefixed with __ due to namespace reasons).
* Don't declare ___res_ext() twice.stefanf2005-09-121-2/+1
|
* Improve POSIX conformance:stefanf2005-09-011-7/+7
| | | | | | | | | | | | - Don't pollute the namespace by including <sys/types.h>, <sys/time.h>, <sys/signal.h> and <limits.h>. Use __MINSIGSTKSZ and __ULONG_MAX from <machine/_limits.h>, __sigset_t from <sys/_sigset.h> instead. - Include <time.h> because POSIX says we have to. PTHREAD_{DESTRUCTOR_ITERATIONS,KEYS_MAX,STACK_MIN,THREADS_MAX} should eventually move to <limits.h> but are left here for now. Discussed on: standards@, threads@
* Appropriate namespace protection for memmem(3).andre2005-08-251-0/+2
| | | | | Submitted by: wollman MFC after: 3 days
* Add the function memmem(3) as found in glibc and others.andre2005-08-251-0/+1
| | | | | | | | | | It is the binary equivalent to strstr(3). void *memmem(const void *big, size_t big_len, const void *little, size_t little_len); Submitted by: Pascal Gloor <pascal.gloor at spale.com> MFC after: 3 days
* - Prefix MUTEX_TYPE_MAX with PTHREAD_ to avoid namespace pollution.stefanf2005-08-191-5/+1
| | | | | | - Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST. OK'ed by: deischen
* Remove parameter names, the identifiers were in the user namespace.stefanf2005-08-191-5/+3
|
* Add an implementation of the semi-standard wcsdup() function, as foundtjr2005-08-131-0/+1
| | | | on Microsoft and GNU systems.
* Sync libedit with recent NetBSD developments. Including improvements to thestefanf2005-08-071-12/+38
| | | | | | | vi-mode, removal of clause 3, cleanups and the export of the tokenization functions. Not included: config.h, filecomplete.{c,h}
* Respect the YES_HESIOD build variable.phk2005-08-061-1/+5
|
* Connect GEOM_ELI class to the build.pjd2005-07-271-2/+2
| | | | MFC after: 1 week
* Remove padding for ABI compatibility of ai_addrlen memberume2005-07-221-19/+0
| | | | | from struct addrinfo. This change break ABI compatibility on 64 bit arch.
* MFP4:jkoshy2005-06-091-1/+1
| | | | | | | | | | | | | | | | - Implement sampling modes and logging support in hwpmc(4). - Separate MI and MD parts of hwpmc(4) and allow sharing of PMC implementations across different architectures. Add support for P4 (EMT64) style PMCs to the amd64 code. - New pmcstat(8) options: -E (exit time counts) -W (counts every context switch), -R (print log file). - pmc(3) API changes, improve our ability to keep ABI compatibility in the future. Add more 'alias' names for commonly used events. - bug fixes & documentation.
* - Remove padding for ABI compatibility of n_net member from structume2005-06-031-21/+0
| | | | | | | | | | | | | netent. - Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit arch as well to confirm to POSIX-2001. These changes break ABI compatibility on 64 bit arch. There is similar padding issue for ai_addrlen of struct addrinfo. However, it is leaved as is for now. Discussed on: arch@, standards@ and current@ X-MFC after: never
* According to:rodrigc2005-05-311-56/+1
| | | | | | | | | | | http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html #include <sys/types.h> should include the definitions of pthread types. PR: standards/78907 Reported by: Brooks Davis Approved by: das (mentor)
* Add support for XMM registers in GDB for x86 processors that supportdfr2005-05-311-0/+4
| | | | | | | SSE (or its successors). Reviewed by: marcel, davidxu MFC After: 2 weeks
* Correct mistake in previous commit: add 'bsm' to LDIRS not LSUBDIRS.rwatson2005-05-301-2/+2
| | | | Pointy hat: over here, please
* Do install BSM include files (such as they are) when installing systemrwatson2005-05-291-1/+1
| | | | | | | includes. Submitted by: wsalamon Obtained from: TrustedBSD Project
* disable defining NI_WITHSCOPEID. It was obsoleted, and was existume2005-05-271-1/+1
| | | | only for backward compatibility since 5.2-RELEASE.
* Make <runefile.h> internal to libc.ru2005-05-162-62/+1
| | | | Suggested by: phantom
* - The ai_addrlen of a struct addrinfo used to be a size_t, perume2005-05-151-5/+46
| | | | | | | | | | | | | | | | RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC 3493, it was changed to a socklen_t. And, the n_net of a struct netent used to be an unsigned long integer. In XNS5, and subsequently in POSIX-2001, it was changed to an uint32_t. To accomodate for this while preserving ABI compatibility with the old interface, we need to prepend or append 32 bits of padding, depending on the (LP64) architecture's endianness. - Correct 1st argument of getnetbyaddr() to uint32_t on 32 bit arch. Stay as is on 64 bit arch for ABI backward compatibility for now. Reviewed by: das, peter MFC after: 2 weeks
* Provide more POSIX-complaint ttyname_r(3) interface[1], which is slightlydelphij2005-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | different from what has been offered in libc_r (the one spotted in the original PR which is found in libthr has already been removed by David's commit, which is rev. 1.44 of lib/libthr/thread/thr_private.h): - Use POSIX standard prototype for ttyname_r, which is, int ttyname_r(int, char *, size_t); Instead of: char *ttyname_r(int, char *, size_t); This is to conform IEEE Std 1003.1, 2004 Edition [1]. - Since we need to use standard errno for return code, include errno.h in ttyname.c - Update ttyname(3) implementation according to reflect the API change. - Document new ttyname_r(3) behavior - Since we already make use of a thread local storage for ttyname(3), remove the BUGS section. - Remove conflicting ttyname_r related declarations found in libc_r. Hopefully this change should not have changed the API/ABI, as the ttyname_r symbol was never introduced before the last unistd.h change which happens a couple of days before. [1] http://www.opengroup.org/onlinepubs/009695399/functions/ttyname.html Requested by: Tom McLaughlin <tmclaugh sdf lonestar org> Through PR: threads/76938 Patched by: Craig Rodrigues <rodrigc crodrigues org> (with minor changes) Prompted by: mezz@
* Connect MLINKS for ttyname_r(3), and add prototype into unistd.h.delphij2005-05-111-0/+1
|
* hide implementation specific internal functions from netdb.h.ume2005-04-271-12/+0
| | | | it is needed to make get{host,net}by*() thread-safe.
* Conditionalize the ipfilter header files on NO_IPFILTER. While normally thesescottl2005-04-261-0/+4
| | | | | | | should be harmless, the kdump(1) build does evil things with collecting system header files, and thus would unconditionally collect and process these. MFC After: 3 days
* Increase PTHREAD_STACK_MIN to MINSIGSTKSZ because thread libraries now usedavidxu2005-04-111-1/+1
| | | | | | makecontext which enforces a minimum stack size to be MINSIGSTKSZ. Bug report: Bill Middleton <flashdict at gmail dot com>, BSD-sharp project.
* Add pthread_condattr_getclock, pthread_condattr_setclock.davidxu2005-04-031-0/+4
|
* Make sure that $_MARCH and friends existimp2005-04-031-0/+8
| | | | Submitted by: nyan@
* Define CLOCK_* and TIMER_* in time.h, where they are supposed to be.das2005-04-021-1/+20
|
* When $MACHINE != $MACHINE_ARCH, install $MACHINE_ARCH/include intoimp2005-04-011-10/+39
| | | | | /usr/include/$MACHINE_ARCH in addition to installing $MACHINE/include into /usr/include/machine.
* - Declare mknod in stat.h (in addition to unistd.h), as per XSI.das2005-03-221-0/+3
| | | | | | - Use blksize_t and blkcnt_t in struct stat. - Hide non-standard fields in stat.h when !__BSD_VISIBLE. - Add restrict qualifiers in stat.h.
* just use crypto/rijndael, and nuke opencrypto/rindael.[ch].ume2005-03-111-0/+8
| | | | | | the two became almost identical since latest KAME merge. Discussed with: sam
* Only install acpiio.h in /usr/include. That's all we want to export to users.njl2005-03-021-2/+10
| | | | | Submitted by: ru (any bugs by me) MFC after: 1 day
* Sync the list of headers visible with SHARED=symlinks with thoseru2005-03-021-1/+6
| | | | | | visible with SHARED=copies. Inspired by: njl
* Install acpi includes in dev/acpica. This should later be trimmed (the pcinjl2005-02-281-1/+2
| | | | | | | bus one is not needed) and ifdef _KERNEL added. PR: kern/74215 MFC after: 1 day
* Bring in NetBSD's improvements and cleanups to NLS subsystem, makingphantom2005-02-271-30/+79
| | | | | | | | | | | | | | it type and endian clean and removing of stdio dependency from NLS functions (catalog files now are processed via mmap()). Also following changes were done (against NetBSD version): . ANSI'fy prototypes . Mention FreeBSD in comments . Pull in sys/types.h instead of sys/_types.h since some types used here are defined in sys/types.h Obtained from: NetBSD (mostly)
* Make the format of LC_CTYPE files architecture independent byru2005-02-262-1/+63
| | | | | | | | | | | | | introducing the disk formats for _RuneLocale and friends. The disk formats do not have (useless) pointers and have 32-bit quantities instead of rune_t and long. (htonl(3) only works with 32-bit quantities, so there's no loss). Bootstrap mklocale(1) when necessary. (Bootstrapping from 4.x would be trivial (verified), but we no longer provide pre-5.3 source upgrades and this is the first commit to actually break it.)
* The Intel C/C++ compiler doesn't require a typedef for _Bool when compilingmarius2005-02-191-1/+1
| | | | | | | | C source so don't declare one when using the GCC-compatibility (defaulting to GCC 2.95.0) of ICC. Submitted by: netchild MFC after: 1 week
* . Convert return type of gai_strerror() to 'const char *' as POSIX requires.phantom2005-02-141-1/+1
| | | | | . Convert ai_errlist[] to simple 'char *' array, and appropriately optimize gai_strerror()
* Install GPIB related includefiles (unless NO_GPIB)phk2005-02-061-2/+6
|
* implement AI_NUMERICSERV (as defined in RFC3493).ume2005-01-271-3/+5
| | | | | Obtained from: KAME MFC after: 1 week
OpenPOWER on IntegriCloud