summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2005-12-28Split off the non-kernel visible portion of sys/errno.h into aTodd C. Miller
separate errno.h. sys/errno.h now only contains errno values (which is included byerrno.h). OK deraadt@
2005-12-21Do not declare errno as extern int, set it via __errno().Todd C. Miller
2005-12-20Get rid of non-OpenBSD bits and use _BYTE_ORDER not BYTE_ORDERTodd C. Miller
OK deraadt@
2005-12-19This piece was missed in the _FOO_SOURCE -> __FOO_VISIBLE change set.Todd C. Miller
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-11-24undelete died a while back; millert okTheo de Raadt
2005-11-21Move contents of sys/select.h to sys/selinfo.h in preparation for aTodd C. Miller
userland-visible sys/select.h. Consistent with what Net and Free do. OK deraadt@, tested with full ports build by naddy@.
2005-11-20brk() and sbrk() should use void *, not char *. Note that sbrk()Todd C. Miller
should take intptr_t, not int, but we don't presently have intptr_t available from unistd.h. OK marco@
2005-11-17Introduce a few c99 functions: {l,ll}{rint,round}{,f}. From NetBSD viaOtto Moerbeek
jason@. Man page fixes by jmc@, prodding by jsg@. ok mickey@
2005-11-16CODESET support. okay millert@, otto@Marc Espie
(not really useful for now, it mostly helps some programs which want to use it, it will become useful when we have full 16 bits locale).
2005-09-27use xargs -r0 for our build processTheo de Raadt
2005-08-09Add VIS_GLOB to escape special characters used by shell-style globbing.Todd C. Miller
From Solar Designer based on changes in FreeBSD. OK deraadt@
2005-08-08activate LC_CTYPE for 8 bits locale.Marc Espie
Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested
2005-07-10Install netbt/ includes.Alexander Yurchenko
ok henning@
2005-07-01Add a few missing functions so that wctype.h/wchar.h are more or lessMarc Espie
uptodate, namely, wcsto(u)l(l) family, wcstod, stubs from wctrans/towctrans crank minor. okay millert@, jmc@.
2005-06-20zap duplicate prototypeMarc Espie
2005-06-18Remove remaining whiteout tentacles; OK deraadt@ miod@ weingart@Todd C. Miller
2005-06-17don't install netns includes any longer, ports bulk build test by pvalHenning Brauer
2005-06-17next citrus step.Marc Espie
reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
2005-06-17bye bye whiteoutsTodd C. Miller
2005-06-08Make gethostbyaddr() prototype match POSIX. This means len is nowTodd C. Miller
unsigned but there is no ABI change. OK deraadt@
2005-06-07-netccitt/Henning Brauer
2005-05-27mktemp(3) et al. go in stdlib.h, not unistd.h. While there be moreTodd C. Miller
explicit about mktemp(3) in the man page.
2005-05-18wchar_t is a native C++ type, gcc picks its definition from elsewhere,Marc Espie
so do not redefine it. Found out by the quite picky fixinc in recent gcc. okay millert@, kettenis@
2005-05-11major abi changes:Marc Espie
* introduce the mbstate_t typedef. impacts gnu libiconv, which has already been taken care of. * Prepare for mb stuff to really exist, replace macro MB_CUR_MAX with an external variable __mb_cur_max (impacts libX11 and various ports). * use mbstate in all the mb <-> wchar functions with state. * add a stub iswctype function allowing some ports to compile. bash and gdiff are missing wcscoll, and need to be told there's no i18n until this is fixed. Discussed and matthieu, otto, millert, kettenis, deraadt. Major libc bump
2005-05-11let vfscanf be a real function. Use a weak_alias on systems where thisMarc Espie
is feasible. Okay millert@ There's a major libc bump coming that is going to cover this as well...
2005-04-30Change internals of FILE: reuse the unget buffer field to access anMarc Espie
extended attribute data structure (pimpl idiom). Idea taken from citrus. Much discussion with deraadt@, otto@, millert@... This is the least disruptive way to extend FILE, since its size can't really change without this being a flag day. So the size doesn't change. Actual additions to the structure will come in separate steps, since this change is nasty enough on its own. Tests by otto@ and others, careful reading of code by otto@ and millert@. This is definitely a major bump, and has been checked to not impact a full ports build.
2005-04-30isw* classification functions from citrus, with a `stub' implementationMarc Espie
for the default locale. comments, tests, okay: kettenis@, otto@, jmc@ functions addition -> Minor bump. There's a large bump coming in a separate commit.
2005-04-28also use new libobjc on old architectures, since it builds fine withMarc Espie
gcc 2.95. tests and okay miod@, marc@.
2005-04-18rm libcurses++Todd C. Miller
2005-04-14introduce some wchar functions (from citrus and an itojun@ diff)Marc Espie
okay deraadt@, cloder@, pvalchev@ thanks to everyone who commented on that.
2005-04-02Add /bin/ksh to builtin list of OK shells.Todd C. Miller
2005-03-30strcasestr(3), a case-insensitive version of strstr(3). already in netbsdTheo de Raadt
and freebsd, apparently written by torek, the man we never see anymore; submitted by jcs, but he is not around right now for the libc major crank so i sneak it in for him
2005-03-30make the resolver stat resolv.conf and update if it changes.Ted Unangst
useful feedback and ok deraadt@
2005-01-28LOGIN_SETALL did not include LOGIN_SETENV as it should.Todd C. Miller
2005-01-08Oops. Too much 'KNF'. We don't use NULL_xdrproc_t, but someone mightKenneth R Westerback
use it in a vararg function call that needs the type info. Pointed out by otto@.
2005-01-08Bit of KNF - replace (<type> *)0 and (<type> *)NULL with NULL. PointedKenneth R Westerback
out by mickey@, seconded by millert@. ok deraadt@.
2005-01-06provide float_t, double_t, FLT_EVAL_METHOD (dummy C99 constructs)Marc Espie
okay millert@
2004-12-20gai_strerror() should return const char *; OK deraadt@Todd C. Miller
2004-11-17remove NI_WITHSCOPEIDJun-ichiro itojun Hagino
2004-10-25Change return value of reentrant getproto* and getserv* to match theTodd C. Miller
IBM/Digital API.
2004-10-20install net80211 headers; millert and deraadt ok.Federico G. Schwindt
2004-10-17implement strnunvis(3), a bounded version of strunvis(3). ok millert@Otto Moerbeek
2004-10-17Reentrant versions of getprotoent(3) and getservent(3). Adapted fromTodd C. Miller
changes in NetBSD by Christos. OK otto@
2004-10-14Add dl_iterate_phdr() support.Mark Kettenis
ok drahn@, millert@
2004-10-07GLOB_NOESCAPE is POSIX so move it out of the #ifndef _POSIX_SOURCE block.Todd C. Miller
2004-10-02let stdbool.h work with recent gcc, since they modified the interface,Marc Espie
again... okay millert@ a while back, needed some more paranoid testing from my part...
2004-09-14KVM_NO_FILES is 0x80000000, so arg 4 of kvm_openfiles() must be unsignedTheo de Raadt
int instead of int; millert ok
2004-08-11add dladdr() support and add some 'standard' dlsym() support.Dale Rahn
ok millert miod pval, grumble deraadt
2004-08-09Support the "setenv" capability in login.conf ala FreeBSD. FollowingTodd C. Miller
FreeBSD's example, a '~' in an environment variable is replaced with the user's homedir. A '$' is replaced by the user's login name. Both can be escaped with a backslash to get the literal char. OK deraadt@