Commit Graph

3554 Commits

Author SHA1 Message Date
phil 177c3172ab Add the correct type for the first parameter. 1998-08-14 04:49:18 +00:00
christos a7a81d1b02 Resolve corn-flakes 1998-08-12 14:11:49 +00:00
augustss 7d30602831 Xref midi(4). 1998-08-12 12:23:30 +00:00
perry a843f0f8a5 bzero->memset, bcopy->memcpy, bcmp->memcmp 1998-08-10 02:43:08 +00:00
perry 3e3611d479 on i386, use FPU instructions in libm if I387_LIBM is set, from dan@geek.com.au 1998-08-09 23:51:33 +00:00
wrstuden b75289e7bc 'c' is only used #ifndef BZERO so wrap its declaration accordingly. 1998-08-09 22:48:11 +00:00
tsubai 7992f14b3a s/asm/__asm/ 1998-08-09 12:43:33 +00:00
kleink ae9f044ef4 Document _PC_SYNC_IO. 1998-08-07 13:28:23 +00:00
mycroft 604e247818 Use the count at the beginning of __CTOR_LIST__. 1998-08-05 23:24:02 +00:00
mark 719323a7d4 Rewritten the entry code. Use r10 to determine is r0 contains a valid
ps_strings pointer. Use assembly to get argc, argv and argp and then
call __start().
1998-08-05 03:59:43 +00:00
kleink 7b07ad780a Per XNS Issue 5, calling recvmsg(2) or sendmsg(2) with an msg.msg_iovlen less
than or equal to 0 shall fail with EMSGSIZE; the latter condition was not being
checked for.  Also, document the msg.msg_iovlen > {IOV_MAX} case.
1998-08-04 19:48:34 +00:00
perry 2ea077b77c switch bzero to version in memset.c.
bzero.c is now a "#define BZERO//#include memset.c" type file.
Remove comment from Makefile about the fact that this is on the todo list.
1998-08-04 06:25:10 +00:00
perry 1801e92fce add strchr.c, strrchr.c, memmove.c, memcpy.c, to KSRC for copy to libkern. 1998-08-04 05:55:56 +00:00
perry 8079ec33a6 Replace complicated and ugly makefile gook to make memmove,memcpy by
-Ding the bcopy.c source (and similarly strchr from index.c, strrchr
from rindex.c) with stub .c files for memmove, memcpy, strchr and
strrchr that simply #define the appropriate thing and #include the
appropriate .c file. Inspired by the way many m-d .S files handle the
same thing. This radically simplifies the Makefile.inc for libc/string
(and libkern).
1998-08-04 04:48:16 +00:00
perry c6300798a1 add memcmp.S 1998-08-04 03:35:32 +00:00
mark ec628f2561 Update for machine/setjmp.h change (JMPBUF* -> _JB*) 1998-08-04 02:03:08 +00:00
perry 2cc5ae3efa add memcmp.S to libkern. 1998-08-04 01:35:57 +00:00
perry 73e9c49b2b add memmove.S to libkern. 1998-08-04 01:24:59 +00:00
kleink c68582d64b UIO_MAXIOV -> IOV_MAX 1998-08-03 15:01:00 +00:00
kleink 22384accd7 Add support for _SC_SYNCHRONIZED_IO and _SC_IOV_MAX. Rearrange documentation
a bit, and actually document _SC_XOPEN_SHM.
1998-08-03 14:41:21 +00:00
kleink 5404ba4886 Add support to query the
* availability of POSIX Synchronized I/O (kern.synchronized_io),
* maximum number of iovec structures to be used in readv(2) etc. (kern.iov_max)
via sysctl().
1998-08-03 14:38:20 +00:00
kleink d8b09acbf7 Per IEEE Std 1003.1b-1993, Synchronous I/O Option, add O_DSYNC (synchronized
I/O data integrity completion) and O_RSYNC (complete read operations at the
same level of integrity requested for write operations).
1998-08-02 18:31:09 +00:00
mycroft 5a33f6d7e8 Fix obvious typo. 1998-08-02 04:52:54 +00:00
jeremy 630bf35030 Removed extraneous DESCRIPTION section header. 1998-08-02 03:20:41 +00:00
thorpej bb218ac267 Protocol Family (PF_*) constants are used to select the domain,
not Address Family (AF_*).
1998-08-01 21:51:06 +00:00
thorpej 9aae5a60db Remove some lint. 1998-08-01 21:29:41 +00:00
thorpej bf8f319d0e Remove some lint. 1998-08-01 21:12:32 +00:00
ross 871fe159d1 English. 1998-07-29 03:38:30 +00:00
lukem f87d250404 * add more checks for NULL pointers in passed arguments
* implement el_get(EditLine *, int op, void *result), which does the
  inverse of el_set()
* add EL_EDITMODE operation to el_set and el_get; if non zero editing
  is enabled (the default).
* add "edit  on | off" editrc command, which modifies EL_EDITMODE.
  users can now add '*:edit off' in ~/.editrc as an advisory to
  disable editing.

NOTE: at this time EL_EDITMODE is just an indication of the
state of the 'edit' command. It's up to the application to check
this after el_source() or el_parse() to determine if editing is still
required.
1998-07-29 02:26:00 +00:00
thorpej bbc3c4bf2a Document that these calls can return EINVAL if the total length of the I/O
is more than can be expressed in the ssize_t return value.
1998-07-29 02:11:35 +00:00
mycroft 4794fc63fe Slight adjustment needed for previous. 1998-07-28 20:28:04 +00:00
mycroft 7d3593c1e4 Add -DALL_STATE, to allocate localtime() data structures dynamically. 1998-07-28 20:26:01 +00:00
mycroft 57ae5a9baa Add links for uid_from_user(3) and gid_from_group(3). 1998-07-28 19:58:25 +00:00
mycroft f091800e8b Fix a typo in a comment. 1998-07-28 18:13:53 +00:00
mycroft 0816a4773b Update the date on this man page. 1998-07-28 17:11:12 +00:00
mycroft 7be86bdd6d Document uid_from_user() and gid_from_group(). 1998-07-28 17:09:10 +00:00
mycroft 76428db157 Import the version from pax(1), with a few changes:
* Functions renamed to match libc interface.
* Fixed to actually put entries into the hash tables!
* Different hash function, simpler but with the same distribution.
1998-07-28 16:58:36 +00:00
mycroft f1f53ef7e8 Add an internal name for perror(3). 1998-07-28 12:22:31 +00:00
mycroft 1020d7970d Use writev(2) (like perror(3)). 1998-07-28 12:21:07 +00:00
is 10bf062527 Mention poll(2), too, where we formerly only mentioned select(2). 1998-07-28 09:43:30 +00:00
msaitoh 370d381343 add missing "const". 1998-07-28 07:18:12 +00:00
thorpej 4d2424a47a We need <sys/param.h> because sysident.h requires the `NetBSD' constant. 1998-07-27 21:46:49 +00:00
mycroft 0bbc075c20 Document mkdtemp(3). 1998-07-27 16:41:40 +00:00
mycroft 90cb894b40 Mention mkdtemp() in the warnings. 1998-07-27 16:39:11 +00:00
mycroft cbb3325e89 Actually, FreeBSD calls this mkdtemp(). No point in creating a new name. 1998-07-27 16:12:01 +00:00
mycroft 7daf213c0f Add a mktempdir(), like mkstemp(), but it creates a directory. 1998-07-27 16:05:07 +00:00
drochner cae89f7bc2 Partly revert 1.3->1.4: shmat() does really return -1 on error.
Fixes PR lib/5835 (yasufu-i@is.aist-nara.ac.jp).
1998-07-27 15:02:08 +00:00
mycroft a51215c951 Delint (partially). 1998-07-27 14:16:35 +00:00
mycroft 1b5106953f Delint (partially). 1998-07-27 14:04:01 +00:00
mycroft 7e67c1c500 Delint. 1998-07-27 13:44:25 +00:00