aboutsummaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bitrot in prototypes in synopsis.Bruce Evans1998-08-031-5/+5
| | | | Notes: svn path=/head/; revision=38060
* Changed prototype in synopsis to match prototype in <pthread.h>.Bruce Evans1998-08-036-6/+6
| | | | Notes: svn path=/head/; revision=38056
* 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
* The pthreads standard has been published. Change:Alexander Langer1998-08-0348-94/+94
| | | | | | | | | | | | | ...is expected to conform to IEEE (``POSIX'') Std 1003.1c when it is published. to: ...conforms to ISO/IEC 9945-1 ANSI/IEEE (``POSIX'') Std 1003.1 Second Edition 1996-07-12. Discussed with: jb Notes: svn path=/head/; revision=38028
* A style fix for my previous commit.Alexander Langer1998-08-023-3/+3
| | | | Notes: svn path=/head/; revision=38027
* Fixed a race condition during the first lock/trylock of a staticallyAlexander Langer1998-08-023-12/+63
| | | | | | | | | | | | initialized mutex. Statically initialized mutexes are actually initialized at first use (pthread_mutex_lock/pthread_mutex_trylock). To prevent concurrent initialization by multiple threads, all static initializations are now serialized by a spinlock. Reviewed by: jb Notes: svn path=/head/; revision=38025
* Fixed printf format errors.Bruce Evans1998-08-021-1/+1
| | | | Notes: svn path=/head/; revision=38020
* I've put together man pages for the pthread_cleanup, pthread_cond, andPoul-Henning Kamp1998-07-3130-4/+1902
| | | | | | | | | | | pthread_mutex routines. I've also tweaked pthread_create.3 to point to pthread_cleanup_push(3) and pthread_cleanup_pop(3). PR: 7450 Submitted by: Brian Cully <shmit@kublai.com> Notes: svn path=/head/; revision=37985
* Print uid/gid as u_long per bde suggestionAndrey A. Chernov1998-07-291-5/+5
| | | | Notes: svn path=/head/; revision=37947
* 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
* cast arg to (long) to match formatAndrey A. Chernov1998-07-281-3/+3
| | | | Notes: svn path=/head/; revision=37901
* 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
* Forgot to remove base64.c from SRCS in the Makefile.Dag-Erling Smørgrav1998-07-121-1/+1
| | | | Notes: svn path=/head/; revision=37610
* Base64 code (and the MIT copyright) moved to http.cDag-Erling Smørgrav1998-07-123-180/+223
| | | | | | | | FTP STORe and APPEnd added. FTP proxy support added (untested). Notes: svn path=/head/; revision=37608
* FTP retrieve works.Dag-Erling Smørgrav1998-07-113-58/+145
| | | | Notes: svn path=/head/; revision=37573
* Too many changes to list. Basically, FTP is nearly there and errorDag-Erling Smørgrav1998-07-115-138/+302
| | | | | | | reporting is kinda sorted out. Now HTTP needs to catch up... Notes: svn path=/head/; revision=37571
* 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
* Imported libfetch into the tree. It compiles, but there's still someDag-Erling Smørgrav1998-07-0911-0/+1375
| | | | | | | work to do. I especially need help with the man page. Notes: svn path=/cvs2svn/branches/DES/; revision=37535
* 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
* | Added a `build-tools' target for internal tools.Bruce Evans1998-07-071-1/+3
| | | | | | | | Notes: svn path=/head/; revision=37460
* | 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
* | Allow /dev/null as path for the "/dev/mem" file, and assume that peoplePoul-Henning Kamp1998-06-302-30/+38
| | | | | | | | | | | | | | | | | | | | know what they're doing if they do that. This will allow ps to use the kvm_proc.c bits without having access to /dev/mem. Fix kvm_proc.c to not need /dev/mem for access to argv/envp Notes: svn path=/head/; revision=37316
* | Fixed printf format errors.Bruce Evans1998-06-301-1/+1
| | | | | | | | Notes: svn path=/head/; revision=37304
* | Fixed print format errors.Bruce Evans1998-06-301-1/+1
| | | | | | | | Notes: svn path=/head/; revision=37303
* | Fixed a printf format error. Didn't fix assumption that sigset_t isBruce Evans1998-06-303-3/+3
| | | | | | | | | | | | | | integral. Notes: svn path=/head/; revision=37302
* | 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
* | Fixes assorted problems with the history edit functions in libedit. ThisBrian Somers1998-06-276-14/+49
| | | | | | | | | | | | | | | | | | | | affects sh, ftp (and others?). Submitted by: Max Euston <meuston@jmrodgers.com> PR: 6516 Notes: svn path=/head/; revision=37199
* | Extend the existing hackery to set the disk type to SCSI for theJohn Polstra1998-06-271-2/+3
| | | | | | | | | | | | | | | | "da" and "od" devices. Formerly ESDI was used for them, causing problems for fresh installations of CAM systems. Notes: svn path=/head/; revision=37179
* | 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
* | Add the missing {} that caused the function to return ESRCH if itJohn Birrell1998-06-253-3/+6
| | | | | | | | | | | | | | | | had to wait for the thread to exit and if the caller didn't want the thread exit status. Notes: svn path=/head/; revision=37146
* | Add CUSEEME support. This has *not* been tested, norBrian Somers1998-06-244-2/+131
| | | | | | | | | | | | | | | | could I find anyone to test it, so please report any problems to me. Notes: svn path=/head/; revision=37131
* | Fix keypad on/off for ^Z suspends by replacing reset_*_mode()Andrey A. Chernov1998-06-193-25/+53
| | | | | | | | | | | | | | from libmytinfo Notes: svn path=/head/; revision=37057
* | Add check for non-NULL cur_termAndrey A. Chernov1998-06-191-0/+11
| | | | | | | | | | | | | | Add #pragma weak for reset_*_mode() they will be replaced in libncurses Notes: svn path=/head/; revision=37056
* | 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 allow a SIGCHLD to wake up a thread if the process has the defaultJohn Birrell1998-06-173-18/+27
| | | | | | | | | | | | | | | | signal handler installed for SIGCHLD. The ACE MT_SOCK_Test was hanging as the result of being interrupted when it didn't expect to be. Notes: svn path=/head/; revision=37045