summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Describe what constitues an exceptional condition.Steve Price1998-08-241-0/+2
| | | | | | | | PR: 7666 Submitted by: Archie Cobbs <archie@whistle.com> Notes: svn path=/head/; revision=38503
* Update to use the new elf headers.Doug Rabson1998-08-171-15/+28
| | | | Notes: svn path=/head/; revision=38391
* Remove support for NetBSD syscalls.John Birrell1998-08-179-378/+3
| | | | Notes: svn path=/head/; revision=38376
* Remove the comment about how to get NetBSD syscalls since there areJohn Birrell1998-08-171-8/+1
| | | | | | | now programs built on alpha that _must_ use FreeBSD syscalls to work. Notes: svn path=/head/; revision=38375
* Add missing #include of <sys.types.h>Poul-Henning Kamp1998-08-151-0/+1
| | | | Notes: svn path=/head/; revision=38340
* I have added the support for BIG5 encoding into libc/libxpg4/mklocale.Poul-Henning Kamp1998-08-153-5/+127
| | | | | | | | | | | | | | the diff is attached below. This is done on the 3.0 source-tree. I have test this on 2.2-stable before, but I don't have a 3.0 machine right now. This patch is mainly to make libc support BIG5 encoding, thus add zh_TW.BIG5 locale to 3.0. Submitted by: Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw> Notes: svn path=/head/; revision=38333
* If using FreeBSD syscalls, handle the syscalls that don't requireJohn Birrell1998-08-081-1/+11
| | | | | | | default asm code the same way as on i386. Notes: svn path=/head/; revision=38182
* Include FreeBSD's syscall.h if not using NetBSD syscalls.John Birrell1998-08-081-2/+5
| | | | Notes: svn path=/head/; revision=38181
* Allow for the fact that NetBSD syscalls are no longer the default. CallJohn Birrell1998-08-081-0/+4
| | | | | | | sigaltstack by default if using FreeBSD syscalls. Notes: svn path=/head/; revision=38180
* Make NetBSD compatibility conditional on NETBSD_SYSCALLS being defined.John Birrell1998-08-081-1/+3
| | | | | | | This is no longer the default. Notes: svn path=/head/; revision=38179
* References to NetBSD syscalls changed to just a comment about what toJohn Birrell1998-08-081-6/+7
| | | | | | | | | add to /etc/make.conf to use FreeBSD's libc with a NetBSD/Alpha kernel. From now on, FreeBSD/Alpha is just FreeBSD. Notes: svn path=/head/; revision=38178
* Fixed bitrot in prototypes in synopsis.Bruce Evans1998-08-031-5/+5
| | | | Notes: svn path=/head/; revision=38060
* Fixed missing header in synopsis.Bruce Evans1998-08-031-1/+2
| | | | Notes: svn path=/head/; revision=38055
* isnetworktty -> isnettty. ttyent.h has already gone through 3Bruce Evans1998-08-032-6/+6
| | | | | | | | | revisions to match the confusing spelling in getttyent.c (1 to break it to match the man page and 1 in each of 2 branches to fix it). This function seems to be orphaned and unused. Notes: svn path=/head/; revision=38054
* Fixed printf format errors.Bruce Evans1998-08-021-1/+1
| | | | Notes: svn path=/head/; revision=38020
* Fixed disordering in previous commit.Bruce Evans1998-07-292-8/+8
| | | | Notes: svn path=/head/; revision=37946
* Add missing period. We don't allow maternity leaves.Tim Vanderhoek1998-07-291-2/+2
| | | | Notes: svn path=/head/; revision=37937
* u_int --> unsigned int, remove (now unneeded) <sys/types.h>Jonathan Lemon1998-07-283-15/+13
| | | | Notes: svn path=/head/; revision=37917
* oops, forgot to do ``cvs add'' first.Jonathan Lemon1998-07-286-0/+417
| | | | Notes: svn path=/head/; revision=37904
* Add wrappers for i386_*_ioperm, i386_vm86 so userland code doesJonathan Lemon1998-07-283-8/+13
| | | | | | | | not have to call sysarch() directly. Added man pages for above, as well as sysarch() Notes: svn path=/head/; revision=37903
* Provide meaningful errno value on error returnAndrey A. Chernov1998-07-141-5/+17
| | | | Notes: svn path=/head/; revision=37643
* Changed to the C9x draft spelling of the (unsigned) integral typeBruce Evans1998-07-141-12/+12
| | | | | | | | | | | suitable for holding object pointers (ptrint_t -> uintptr_t). Added corresponding signed type (intptr_t). Changed/added corresponding non-C9x types for function pointers to match. Don't use nonstandard types to implement these types, and don't comment on them in <machine/types.h>. Notes: svn path=/head/; revision=37629
* Oops, fptrint_t still needs to be declared in <machine/profile.h> in theBruce Evans1998-07-101-9/+1
| | | | | | | | !KERNEL case. The kludge to get it declared in libc/gmon/mcount.c wasn't sufficient because fptrint_t is used in <sys/gmon.h>. Notes: svn path=/head/; revision=37542
* Added a kernel-only typedef (ptrint_t) giving an integral type that isBruce Evans1998-07-101-2/+11
| | | | | | | | | | | | | least unsuitable for holding an object pointer. This should have been used to fix warnings about casts between pointers and ints on alphas. Moved corresponding existing general typedef (fptrint_t) for function pointers from the i386 <machine/profile.h> to a kernel-only typedef in <machine/types.h>. Kludged libc/gmon/mcount.c so that it can still see this typedef. Notes: svn path=/head/; revision=37540
* Correct wording on range of addresses examined by `msync(2)'.Joseph Koshy1998-07-091-2/+2
| | | | | | | PR: 7180 Notes: svn path=/head/; revision=37528
* Add lockf().Dmitrij Tejblum1998-07-081-3/+3
| | | | Notes: svn path=/head/; revision=37515
* Make this look more FreeBSDish.Dmitrij Tejblum1998-07-081-8/+2
| | | | Notes: svn path=/head/; revision=37513
* This commit was generated by cvs2svn to compensate for changes in r37510,Dmitrij Tejblum1998-07-082-0/+345
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=37511
| * An implementation of lockf() function call.Dmitrij Tejblum1998-07-082-0/+345
| | | | | | | | | | | | | | Obtained from: NetBSD (author: Klaus Klein) Notes: svn path=/vendor/NetBSD/dist/; revision=37510
* | Replace my original asprintf() and vasprintf() hacks with somethingPeter Wemm1998-07-084-142/+99
| | | | | | | | | | | | | | | | | | | | | | more cleanly integrated with stdio. This should be faster and cleaner since it doesn't memcpy() the data into a seperate buffer. This lets stdio allocate and manage the buffer and then hand it over to the user. Obtained from: Todd Miller <Todd.Miller@courtesan.com> via OpenBSD Notes: svn path=/head/; revision=37487
* | fts_close calls free(sp), the ISSET(FTS_NOCHDIR) which is a macro thatPoul-Henning Kamp1998-07-032-6/+8
| | | | | | | | | | | | | | | | | | | | | | references sp. The free needs to follow ISSET PR: 7148 Reviewed by: phk Submitted by: Ken Mayer <kmayer@freegate.com> Notes: svn path=/head/; revision=37349
* | Cross-reference to sysconf(3).Eivind Eklund1998-06-301-1/+2
| | | | | | | | Notes: svn path=/head/; revision=37319
* | Fixed printf format errors.Bruce Evans1998-06-304-7/+7
| | | | | | | | Notes: svn path=/head/; revision=37301
* | Fixed scanf format errors. The error handling is not quite bug for bugBruce Evans1998-06-301-7/+4
| | | | | | | | | | | | | | | | | | compatible. I think small negative uids are handled compatibly but other out of bounds ones are truncated differently for certain sizes of uid_t. Notes: svn path=/head/; revision=37300
* | Fixed printf format errors. Don't assume so many things about time_t.Bruce Evans1998-06-301-20/+16
| | | | | | | | | | | | | | | | | | Obtained from: partial merge of ADO version tzcode96h (was fully merged in 1.10 but backed out in 1.11; the FreeBSD code for %s was earlier, prettier but buggier). Notes: svn path=/head/; revision=37299
* | Fix btree problems. This passes regressions tests.Guido van Rooij1998-06-252-2/+5
| | | | | | | | | | | | | | | | | | PR: 7009 Obtained from: http://www.sleepycat.com/update/patch.185.html, patches 1.2, 1.3 and 1.4 Notes: svn path=/head/; revision=37155
* | preserve errno across the readlink() calls. There is no value in trashingPeter Wemm1998-06-181-1/+4
| | | | | | | | | | | | | | errno during a successful malloc() call. Notes: svn path=/head/; revision=37048
* | Don't compile in the use of poll() when building libc_r. This isn'tPeter Wemm1998-06-141-1/+15
| | | | | | | | | | | | | | | | so much a "fix", rather a bandaid to buy time to fix it properly within the thread engine. Notes: svn path=/head/; revision=36967
* | Document EINVAL return value.Bruce Evans1998-06-141-0/+7
| | | | | | | | Notes: svn path=/head/; revision=36962
* | Make nlist() understand elf unconditionallyPeter Wemm1998-06-122-5/+2
| | | | | | | | Notes: svn path=/head/; revision=36919
* | Update the resolver parts to bind-8.1.2 level. I have not touched thePeter Wemm1998-06-1125-1733/+3219
| | | | | | | | | | | | | | | | | | getXXXXbyYYYY() interfaces yet. Obtained from: diff relative to bind-8.1.2 sources Notes: svn path=/head/; revision=36891
* | Move ftok() from libcompat to libc, so that it can be closer to itsJohn Polstra1998-06-101-3/+3
| | | | | | | | | | | | | | | | | | friend shmget(). PR: closes misc/6763 Notes: svn path=/head/; revision=36859
* | Fix grammar, "null" -> "NUL"Daniel O'Callaghan1998-06-101-5/+5
| | | | | | | | Notes: svn path=/head/; revision=36854
* | This is a null commit to log the fact that I have done a repositoryJohn Polstra1998-06-102-2/+2
| | | | | | | | | | | | | | | | | | | | copy to bring these files into libc from libcompat. I will enable them and kill off the libcompat versions on the main branch soon. PR: step one toward closing misc/6763 Notes: svn path=/head/; revision=36836
* | Remove __NETBSD_SYSCALLS from CFLAGS now that it is set in sys.mk.John Birrell1998-06-091-2/+3
| | | | | | | | Notes: svn path=/head/; revision=36825
* | Rename calls when building libc_r.John Birrell1998-06-091-3/+3
| | | | | | | | Notes: svn path=/head/; revision=36824
* | Make this thread-safe in both libc as well as libc_r.John Birrell1998-06-091-13/+2
| | | | | | | | Notes: svn path=/head/; revision=36823
* | Rename when building libc_r.John Birrell1998-06-095-9/+9
| | | | | | | | Notes: svn path=/head/; revision=36822
* | Add rename support for libc_r.John Birrell1998-06-091-1/+50
| | | | | | | | Notes: svn path=/head/; revision=36821
* | Fix potential resource leak: when call to des_crypt_1() fails, rememberBill Paul1998-06-091-2/+3
| | | | | | | | | | | | | | to destroy the RPC CLIENT handle before returning. Notes: svn path=/head/; revision=36816