summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2009-07-29now that the pages are split and we track separate HISTORY:Martynas Venckus
double => 4.3BSD float => NetBSD 1.1 long double => OpenBSD 4.5 scalbln, scalblnf, scalblnl => OpenBSD 4.7
2009-07-29ieee, and ieeef aren't real, and the amount of functions it documentsMartynas Venckus
is getting ridiculous. split them into groups of copysign, ilogb, nextafter, scalbn. discussed long ago with millert@
2009-07-29ieee_test isn't real; rename header to logb, tooMartynas Venckus
2009-07-28document scalbln, scalblnf, scalblnlMartynas Venckus
2009-07-28this is happier if it pulls in a few more includesTheo de Raadt
2009-07-27don't use ``return'' in sio_close() and mio_close()Alexandre Ratchov
2009-07-26more style improvemets, from Thomas PfaffAlexandre Ratchov
2009-07-26use ``sizeof(string) - 1'' rather than ``strlen(string)'' on staticAlexandre Ratchov
strings. suggested by Thomas Pfaff
2009-07-26remove the (bogus) special case when mio_open() is called withAlexandre Ratchov
a midi device name starting with a separator
2009-07-26rephrase description of (MIO_IN | MIO_OUT) modeAlexandre Ratchov
from Thomas Pfaff, ok jmc@
2009-07-26Make ``static'' few functions that are prototyped as static but are notAlexandre Ratchov
defined as such from Thomas Pfaff
2009-07-26sort and space headers as per style(9)Alexandre Ratchov
from Thomas Pfaff
2009-07-25int is big enough to fully represent exponents of all supported fpMartynas Venckus
formats. which even for 80-bit & 128-bit long doubles is only 15 bits. therefore, scalbln, scalblnf, scalblnl are essentially the same as scalbn, scalbnf, scalbnl with bounds checking so that LONG_MIN..INT_MIN, and INT_MAX..LONG_MAX ranges properly raise exceptions & yield correct values. looks good to millert@
2009-07-25use const qualifier in libsndio, making it slightly more consistentAlexandre Ratchov
with open(2) and write(2) syscalls. from Thomas Pfaff, jakemsr is fine with it
2009-07-25add sndio.7, forgotten in last commitAlexandre Ratchov
spotted by jasper@
2009-07-25Currently midi capable programs can control midi hardware, butAlexandre Ratchov
cannot cooperate with other programs. The aim of this change is to allow any program to send midi data to other programs as they were midi hardware. For instance, this change should solve the longstanding problem of using a midi sequencer with software synthesizers. More precisely: - new midicat(1) utility (actually hardlink to aucat(1)). it creates software midi thru boxes, allowing programs to send midi messages to other programs as they were midi(4) hardware. - new midi api in libsndio (see mio_open(3)), to access midi(4) devices and midicat(1) sockets in a uniform way. - new device naming scheme <service>:<unit>[.<option>], common to audio and midi. - new sndio(7) manual describing concepts and naming The current audio device naming still works, but people having scripts or configuration files containing device names could read the sndio(7) man page and slowly start updating device names. discussed with jakemsr@ and deraadt@, help form jmc@
2009-07-25- add a symbol to help gdb location pthread internals (_thread_ctx_offset)Kurt Miller
ok kettenis@
2009-07-24From NetBSD rev 1.5Jonathan Gray
The report size is not a local item, so don't clear it when clearing local items.
2009-07-24Global Item #3 should be Physical Minimum not Maximum accordingJonathan Gray
to the HID spec. From FreeBSD hid.c rev 1.31
2009-07-21Support KERN_FILE_TEXT here tooTodd C. Miller
2009-07-21Handle the case where so_pcb is NULL.Todd C. Miller
2009-07-15round, roundf, trunc, truncf for hppa; ok kettenis@Martynas Venckus
2009-07-15must include <sys/types.h> before including <login_cap.h> or <bsd_auth.h>;Ingo Schwarze
noticed by joao <salvatti at gmail dot com> on tech@; feedback and ok kettenis@ deraadt@ and reminded by jmc@
2009-07-14Don't specify mode(SI) attribute for __EH_FRAME_END__ as we haveJonathan Gray
32 bit ints on OpenBSD. ok kettenis@
2009-07-13Load symbol address with dla, not la; good thing userland is still limitedMiod Vallat
to 2GB of vm space.
2009-07-12fwrite() should also return 0 if either size or nmemb are 0.Todd C. Miller
Adapted from FreeBSD. OK deraadt@
2009-07-09promote correct style for error checkingEric Faurot
ok tedu@ deraadt@ krw@
2009-07-08correct kvm_getfile2 error stringTodd C. Miller
2009-07-06fe_towardzero not on openbsd. ok millert@Martynas Venckus
2009-06-30floor(3) should round towards -inf instead of towards zero.Mark Kettenis
ok martynas@, deraadt@
2009-06-24Install ntfs includes and add libkvm (fstat) support. ntfs bitsTodd C. Miller
adapted from NetBSD fstat. OK deraadt@
2009-06-23getgrouplist(3) used to and ought to return 0 on success;Ingo Schwarze
fixing a regression introduced in rev. 1.16 spotted by otto@; ok millert@ otto@
2009-06-21fix rcs ids. ok sthen@Martynas Venckus
2009-06-21abs conforms c99 -> imaxabs conforms c99. ok millert@Martynas Venckus
2009-06-20Move KREAD define to kvm_private.hTodd C. Miller
2009-06-20Split out cd9660 bits into their own .c file to avoid #define collisionsTodd C. Miller
with ufs and add also udf support. OK miod@
2009-06-20use llabs instead of the home-grown version; and some comment changesMartynas Venckus
ok ian@, millert@
2009-06-20Add msdosfs support now that we have the headers.Todd C. Miller
2009-06-19Quiet a gcc warningTodd C. Miller
2009-06-16Do not break gcc -Z on powerpc. mprotect the got only if it is padded.Dale Rahn
Diff written and tweaked by kurt@ and myself. ok kurt@, now is agood time deraadt@
2009-06-12YP client functions do not allocate memory when they fail;Ingo Schwarze
wording tweaked by jmc@
2009-06-11add missing headers needed by free(), memset(), getuid() and strlcpy().Charles Longeau
ok millert@
2009-06-11don't use freelist if it overruns; use heap memory instead notMartynas Venckus
trying to allocate large blocks from bss memory pool in this case. problem reported by Maksymilian Arciemowicz. ok otto@, millert@
2009-06-09document KERN_BUFCACHEPERCENT and KERN_MAXLOCKSPERUID; help/ok ogaJason McIntyre
2009-06-09nnpfspioctl change in libc mandates a major crank here toTheo de Raadt
2009-06-08quieten compiler by converting pointers to uintptr_t before truncating themTheo de Raadt
to u_int32_t to do integer math with (in a situation where that is legit) ok otto millert
2009-06-07Define _KERNEL for the bare minimum. We can include sys/proc.hTodd C. Miller
normally as long as we define __need_process and use a local definition of struct proclist.
2009-06-07Avoid including machine/cpu.hTodd C. Miller
2009-06-07de-spaghetti:Ingo Schwarze
If code is used from exactly one place, don't jump back dozens of lines to reach it, only to "goto" back where you came from. Instead, simply put the code where it belongs. Also fixes a regression that crept in in rev. 1.30: After clearing the variable __ypmode, don't try to make decisions based on its former value. As a bonus, garbage collect the grname variable and the _ypmode enum type. ok millert@
2009-06-07fix a minor memory leak spotted by deraadt@; ok millert@ deraadt@Ingo Schwarze