tron
d3de7d0eb7
Reference variable "ap" in lint dummy code to avoid warning about
...
unnecessary assignment.
2002-01-03 16:13:11 +00:00
thorpej
9e65d921df
Don't assign semun if __lint__.
2002-01-03 01:55:49 +00:00
manu
8429e82f30
- Changed clocktl interface to use syscallargs structures
...
- Implemented keep-state so that we don't have to open /dev/clockctl each time.
2001-12-09 16:11:45 +00:00
ross
c73d16d227
grammar
2001-11-29 23:00:43 +00:00
jdolecek
14f44ebcdd
comment out the STANDARDS section for now
2001-11-24 02:40:05 +00:00
wiz
147717c2f0
Two punctuation-vs.-macro improvements, and a grammar fix.
2001-11-23 20:21:49 +00:00
jdolecek
1c36ca124c
document new error cases
...
state standard conformancy - besides RLIMIT_AS (which is not supported
currently), getrlimit()/setrlimit() conform to SUSv2
use more standard description cookie for error return in RETURN VALUES
mention also ulimit of sh(1), besides limit of csh(1)
2001-11-23 19:50:13 +00:00
jhawk
62d68d1c31
Grammar nit from 1.14.
...
Dd from 1.5.
2001-11-23 19:23:43 +00:00
jdolecek
ac3668b158
remove the list of Berkeley-specific signals from STANDARDS
...
section, the whole list is available in signal(7)
2001-11-23 18:19:42 +00:00
christos
66a8284d66
mention that we ignore negative fds.
2001-11-14 18:48:11 +00:00
tv
7df9c95b77
Only put LintSys*.c in DPSRCS; the others are static files.
2001-11-13 19:16:41 +00:00
tv
c750bb2e19
Clean up a little more (DPSRCS already goes in CLEANFILES; reduce
...
redundancy of DPSRCS).
2001-11-13 18:57:47 +00:00
tv
75b1d2a008
No need for the .for in this case (holdover from earlier noncommitted
...
version of the simplification).
2001-11-13 18:46:17 +00:00
tv
68e6fca807
Make this match the new .S extension of syscalls.
2001-11-13 18:39:10 +00:00
tv
f4381c7fc4
Make previous a bit cleaner, too: just refer to all these files by the
...
.S extension; no need to do all the :.o=.S transforms.
2001-11-13 16:03:53 +00:00
tv
c22bb3e6fb
Fix backslash typo in previous.
2001-11-13 15:20:34 +00:00
tv
2eb12ec596
Make the generation of syscall stubs a lot more reliable by generating real
...
`.S' files and letting <bsd.sys.mk> and <bsd.lib.mk> compile them like every
other .S file. The compilation options passed to ${CC} are still correct.
Also make sure LintSysPseudoNoerr.c gets removed on "make clean".
2001-11-13 15:12:01 +00:00
kleink
ed4867ab7e
Reduce the ties to `inode'.
2001-10-23 09:26:59 +00:00
mycroft
78cb33d965
Should have done this years ago...
...
Add a warning about the separability of the PROT_* flags.
2001-10-23 02:10:23 +00:00
kleink
38c46d1f11
Sprinkle some __restrict into <sys/socket.h>.
2001-10-22 20:59:02 +00:00
kleink
481b132673
Remove inclusion of <sys/types.h> from synopsis; it is no longer needed.
2001-10-16 20:09:59 +00:00
wiz
bc1b53873f
Boring whitespace or punctuation fixes.
2001-10-16 16:08:55 +00:00
kleink
4d9619365d
Clean up synopsis somewhat:
...
* only associate S/G interfaces with <sys/uio.h> (and only that header);
* drop <sys/types.h> entirely, as it is no longer needed.
2001-10-16 16:03:35 +00:00
sommerfeld
40dd2b9373
Clarify that you may get a signal instead of EFAULT.
2001-10-02 02:55:41 +00:00
thorpej
a46d6c9e4f
Need string.h for memcpy() prototype.
2001-09-17 23:52:14 +00:00
thorpej
836962fe0b
Need string.h for memcpy() prototype.
2001-09-17 23:42:09 +00:00
thorpej
bb80a7f9fc
Pull in <string.h> for memcpy() prototype.
2001-09-17 23:32:33 +00:00
tsutsui
a50a963c06
Include string.h for memcpy().
2001-09-17 14:25:43 +00:00
manu
54c0ce6119
Added support to use the clockctl driver if present for adjtime(),
...
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos
2001-09-16 07:41:56 +00:00
wiz
53d84b5c61
Sort sections, sort SEE ALSO, punctuation and miscellanous fixes.
2001-09-16 02:13:26 +00:00
wiz
dfcfff97f3
Boring whitespace fixes.
2001-09-16 01:38:59 +00:00
christos
3282ceb944
Add __clone.S
...
XXX: This breaks the x86_64 port. Frank are you there?
2001-09-08 00:55:00 +00:00
wiz
a957c5e39e
Follow a hint by Simon Burge (first part of diff), and comment in
...
a xref to hz(9) now that it exists (second part).
2001-09-07 23:46:03 +00:00
wiz
728ad2926a
Add ntp_adjtime(2) and ntp_gettime(2) man page.
2001-09-06 00:18:18 +00:00
simonb
7e448d13f5
Don't need <sys/types.h> or <sys/time.h> before <sys/resource.h>.
...
References: SUSv2
2001-09-01 02:01:48 +00:00
mjl
78c9e69530
Fix typo mentioned in OpenBSD PR/2032
2001-08-25 23:05:43 +00:00
thorpej
4177d25e14
Build __clone.S, the Lint stubs, and the manual pages.
...
Yes, I know now all ports have a __clone() stub yet, but this
will force the issue -- they don't get to build their libc until
they implement it.
Implementers are encouraged to use the regression test for it
in src/regress/lib/libc/clone.
2001-07-18 23:03:10 +00:00
thorpej
511c17cad8
Fix the declaration of the funciton in the SYNOPSIS section.
2001-07-18 19:29:40 +00:00
thorpej
743cf39656
Document WALTSIG (and __WCLONE) and WALLSIG (__WALL). Restructure the
...
options documentation to make it easier to read.
2001-07-18 19:12:21 +00:00
thorpej
badb94abdb
Document CLONE_VFORK and note that we also do not implement CLONE_PTRACE.
2001-07-17 21:16:52 +00:00
thorpej
4e8fc6ae38
Lint stubs for clone(2).
2001-07-17 03:05:43 +00:00
thorpej
f6459c8fab
Manual page for clone(2).
2001-07-17 03:05:31 +00:00
lukem
dfaec93e4e
move to kqueue branch for now
2001-07-10 11:59:50 +00:00
skrll
f589848c0d
grammar.
2001-07-09 12:07:08 +00:00
lukem
6d8fbc3899
freebsd kqueue implementation
2001-06-28 08:01:35 +00:00
mrg
4091ab9fbd
note the SWAP PRIORITY section in swapctl.8
2001-06-07 15:23:48 +00:00
wiz
c8c8cf7a24
NetBSD -> Nx
2001-06-05 13:18:47 +00:00
jdolecek
16624f841d
Use EAGAIN instead of EWOULDBLOCK. The actual numeric value is
...
same, but EAGAIN is the posixly correct name.
Addresses misc/12960.
2001-05-19 17:23:39 +00:00
matt
26d18c845b
replace return with rename (from Bruce Korb).
2001-05-17 23:45:24 +00:00
kleink
f020111f1c
Document l_type usage explicitly; fixes PR misc/10325.
2001-05-05 19:48:04 +00:00
simonb
a69a3cc5ec
Spell occurred correctly.
2001-04-25 02:19:48 +00:00
wiz
84f7b205e2
Dummy commit to kill -kk.
2001-04-23 23:02:10 +00:00
kleink
950c0fd37b
Document fchroot(2).
2001-04-18 08:28:10 +00:00
mrg
a655930206
expand on swap priorities, xref new section in swapctl(8). PR#12610.
2001-04-11 14:18:30 +00:00
wiz
daf7c82a00
Remove reference to nfsiod(8), which is long gone.
2001-04-09 19:55:52 +00:00
wiz
086fe0f436
Whitespace.
2001-04-09 12:17:35 +00:00
wiz
ff9338b919
Fix date, and some whitespace.
2001-04-09 12:17:16 +00:00
wiz
9ae930ee53
getrlimit(2), not (3)
2001-04-09 12:16:54 +00:00
wiz
0ddda8637f
getmntinfo(3) not (2)
2001-04-09 12:16:36 +00:00
pooka
b8116b5540
make prototypes match reality found in <sys/ktrace.h>
2001-03-18 21:51:11 +00:00
fair
fdd13acbc4
Correct typo in ERRORS, and document that getdents(2) can return
...
directory entries that refer to deleted files, all per PR 10567.
2001-03-16 07:58:24 +00:00
fair
bee514872a
Added the following text to answer PR 7249:
...
The manual page for each system call will list some of the
common errno codes that system call can return, but that
should not be considered an exhaustive list, i.e. a properly
written program should be able to gracefully recover from
any error that a system call might return. Documenting
all the error codes that a system call can return in a more
specification-like manner would take more resources than
this project has available.
2001-03-16 06:56:48 +00:00
fair
4ca39aa709
Add a description of the special kernel thread "ioflush" to the "special
...
processes" section, per PR 10912. While we're here, clean up nroff nits,
like spaces at the ends of lines.
2001-03-13 03:24:13 +00:00
wiz
3da563eb15
Fix typo reported by Geoff C. Wing in pkg/12369.
2001-03-10 12:57:02 +00:00
itojun
bf46c79fa7
add ECONNABORTED.
2001-02-07 12:50:15 +00:00
jdolecek
ced1de21ce
It seems utrace(2) actually appeared in FreeBSD 2.2, not 4.0 according
...
to FreeBSD CVS logs
2001-01-24 23:43:43 +00:00
augustss
9b388c5b09
Document a weird circumstance under which stat() return EBADF.
2001-01-09 20:45:10 +00:00
mycroft
ae430e05be
Update the date.
2001-01-05 23:31:39 +00:00
mycroft
4f5554fa22
Update the date.
2001-01-05 23:31:16 +00:00
mycroft
0dbdbcab93
Mark these as deprecated, and correctly an error in the HISTORY section.
2001-01-05 23:29:42 +00:00
jdolecek
c8ff0e782d
document KTR_USER_MAXLEN limit
2001-01-05 22:28:41 +00:00
jdolecek
f43afc04fe
add utrace(2)
2001-01-05 21:49:47 +00:00
matt
44e25a6200
Add __syscall.S back to sys/Makefile.inc. Remove from arch/i386/gen/
...
Makefile.inc. If your architecture doesn't have __syscall.S, *add it*.
2000-12-13 07:42:47 +00:00
simonb
0e35eedd7e
Move __syscall.S to the arch specific Makefile.inc's where it is
...
implemented.
2000-12-12 22:38:42 +00:00
briggs
c6ba879207
Add a cross-reference to ftok(3).
2000-12-12 16:47:05 +00:00
mycroft
731305d114
Handle __syscall() in user-level code for i386.
2000-12-10 21:27:37 +00:00
wiz
efaced1f8c
fix typo
2000-11-21 23:35:10 +00:00
mrg
2d1d6239e4
document SWAP_DUMPDEV & SWAP_GETDUMPDEV.
2000-11-17 11:40:05 +00:00
lukem
279552d3db
fix up various .Nm abuses:
...
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
erh
a5c46ce842
Document the PROFDIR environment variable.
2000-10-24 19:31:59 +00:00
toshii
4acc4fc7fe
lfs_bmapv -> lfs_markv
2000-10-09 09:34:00 +00:00
nathanw
76bc7abc93
Use ".Fa stat" instead of ".Fn stat" when referring to the structure
...
rather than the function.
2000-10-07 16:48:24 +00:00
jdolecek
f5cb6bbd84
update(8) is gone, put in some info about ioflush
...
this addresses bin/11141 by Nick Hudson
2000-10-06 19:54:26 +00:00
jdolecek
a69cc94b83
kill references to update(8), it doesn't exist any more
...
this addresses bin/11141 by Nick Hudson
2000-10-06 18:53:28 +00:00
ad
5b09090e8e
insure -> ensure
2000-10-05 12:35:33 +00:00
is
6c614a3f1d
Document EPERM.
2000-09-28 09:46:17 +00:00
kleink
82fd76bb06
Need an internal name for pipe(2).
2000-09-28 08:38:53 +00:00
nathanw
42782db512
Note that we do support single-stepping, as a machine-dependant feature.
...
Don't be SPARC-specific about what features we support. Document how
to determine which requests are supported.
2000-09-27 22:31:43 +00:00
erh
52aa56b72d
Mention additional restriction on ptrace: you can't ptrace system processes since the assumptions made for normal processes don't always hold (such as p_pptr is non-NULL).
2000-09-24 07:34:15 +00:00
wiz
9773bf4a73
Whitespace fix, noted by John Hawkinson.
2000-08-04 20:03:07 +00:00
wiz
be8ff811b7
Rename VM_INHERIT_* to MAP_INHERIT_* and move them to sys/sys/mman.h as
...
discussed on tech-kern.
Retire sys/uvm/uvm_inherit.h, update man page for minherit(2).
2000-08-01 00:53:07 +00:00
jdolecek
46c49082de
parameters addr & data are actually treated same way
...
for PT_DETACH and PT_CONTINUE - the only difference between them is that
the child is detached from the parent for PT_DETACH
2000-07-27 21:40:09 +00:00
kleink
f51ea2882c
KNF.
2000-07-14 07:36:32 +00:00
kleink
f4e264e3d5
Add a name description as well.
2000-07-10 06:44:35 +00:00
enami
bf53880ad5
Create link to lchflags.[02].
2000-07-08 00:53:39 +00:00
itohy
af83a97717
Add special treatment of shmat(2).
...
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
fair
1513bd135d
Add a proper DESCRIPTION to the man page, per PR 10072.
2000-07-07 05:18:49 +00:00
he
c8607653d2
Add text that says that an interpreter cannot itself be an interpreter
...
file. Inspired by Solaris manpage and the current NetBSD implementation
as observed with the scotty package and attempts to use the earlier shell
wrapper as an interpreter.
2000-07-05 12:42:09 +00:00
sommerfeld
1b2871e3d0
bin/10472: fix a couple typos in stat.2
2000-06-29 03:26:57 +00:00
mrg
a461faa506
<vm/vm_param.h> is now <uvm/uvm_param.h>
2000-06-27 09:10:24 +00:00
kleink
d42527e7a6
Finally nuke <sys/types.h> from SYNOPSIS.
2000-06-26 17:00:01 +00:00
assar
2e4e513a5a
add documentation of `shmflg'
...
See PR bin/10431
2000-06-26 15:46:03 +00:00
kleink
b8a4d7adf9
Need an internal name for fork().
2000-06-26 06:32:54 +00:00
kleink
0ef9e4a214
De-delint.
2000-06-26 06:29:12 +00:00
wiz
2177438bb2
punctuation fix (. -> ,)
2000-06-25 22:37:30 +00:00
sommerfeld
8bb74cfdd7
Explain what this function actually does
2000-06-25 16:28:41 +00:00
kleink
03f996bd0c
Add internal names for brk() and sbrk().
2000-06-23 15:40:36 +00:00
hubertf
159bc2d0e5
s/the/The/ at beginngin of sentense.
2000-06-21 02:30:37 +00:00
hubertf
73fc291634
Merge duplicate mentions of EPERM, EACCESS, ... into one entry
...
(where applicable).
2000-06-17 19:33:34 +00:00
cgd
db755e7c76
sweep of my licenses (userland files w/o only my copyright) for
...
consistency. (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
lukem
317449a3dc
fix typo
2000-06-09 14:02:21 +00:00
nathanw
44145e574e
Fix incorrect uses of indicate/indicates/indicated for each other.
2000-06-07 19:47:57 +00:00
hubertf
914468cda3
s/a //
2000-06-02 21:21:41 +00:00
jdolecek
dfe35a4788
quotas are supported on lfs too, apparently
2000-05-29 21:57:05 +00:00
jdolecek
07506ce5eb
update to match current common implementation on NetBSD - [f]truncate()
...
normally lengtens the file if it's shorter than specified length
also change wording slighly, to match wording in SUS
XXX someone should check how much of SUS truncate(2) specification is true
XXX on NetBSD and update this manpage accordingly
2000-05-28 09:41:52 +00:00
perseant
7438415348
Add man pages for LFS syscalls
2000-05-24 21:54:59 +00:00
itojun
273595e782
add PF_INET6.
2000-05-22 05:06:20 +00:00
fair
098894016b
A little nroff clean up, since I was here to deal with PR 9727,
...
but someone beat me to it, and didn't log that...
2000-05-17 10:24:13 +00:00
soda
91c450a0e1
ARG_MAX is bumped from 20KB to 256KB since Jan 16 1994 (revision 1.7 of <sys/syslimits.h>). i.e. before NetBSD-1.0 release.
...
pointed out by NAKAJIMA Yoshihiro and Tanaka Akira on fj.os.bsd.netbsd newsgroup.
2000-05-08 10:15:17 +00:00
minoura
8bffa1abc1
issetugid(2) manpage.
2000-04-21 16:39:23 +00:00
minoura
52de0c47aa
FreeBSD's issetugid(2) manpage.
2000-04-21 16:35:05 +00:00
minoura
599d65f132
New syscall issetugid.
2000-04-21 16:24:22 +00:00
mrg
a6f7a7855f
implement lchflags(2), which does the chflags(2) dance without following
...
symlinks, and thus can operate on symlinks. remove a bogus comment in
chflags(1) that claims symlinks do not have file flags.
XXX: todo -- make chflags(1) use lchflags(2) when given the right options.
2000-04-17 14:31:21 +00:00
tsarna
a32696c2de
Death to nfsiod!
...
It is replaced by kernel threads that do the same thing. The number of
kernel threads used is set with the vfs.nfs.iothreads sysctl.
2000-04-15 21:14:48 +00:00
simonb
e28dc2c70b
We return EIDRM if the msg queue is removed, not EINVAL.
2000-04-12 13:03:52 +00:00
fvdl
bfb0ad4a93
Clarify that page alignment only happens for the internal, kernel notion
...
of the break value.
2000-04-04 08:41:45 +00:00
kleink
7e35a43e67
In mmap(), bail out with EOVERFLOW when mapping a regular file and the file
...
offset plus mapping length cannot be represented in an off_t.
2000-03-28 18:45:19 +00:00
kleink
69043b3644
Note EILSEQ.
2000-03-14 19:14:29 +00:00
kleink
c9b0caf509
Sync the description of errno with reality; fixes PR lib/9496.
2000-03-14 19:11:24 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
enami
6e362668c4
Note that this system call now creates kernel thread.
2000-03-10 01:34:35 +00:00
enami
823f836758
Document some recently added user visible mount option. Addresses PR#6577.
...
While I'm here, I reorderd SEE ALSO section properly.
2000-03-06 09:11:14 +00:00
enami
f8796b1a66
Remove reference to config(8) from SEE ALSO list.
2000-02-28 14:32:53 +00:00
enami
61b07296fe
With SEE ALSO list, add swapctl(2) and swapctl(8) and remove config(8).
2000-02-28 14:30:54 +00:00
enami
354b4bc5c1
Sync wi/ reality.
2000-02-28 14:21:46 +00:00
christos
f9be3e6b20
Explain why we don't want to pass structs and unions to syscalls, and
...
how to find the proper args for a syscall.
2000-01-31 15:15:07 +00:00
christos
618e1b5628
Add a userland stub to do the union semun -> union semun * redirection.
2000-01-31 15:14:19 +00:00
itojun
e5a959ce39
EINVAL may be returned when address family mismatches. (from openbsd)
2000-01-26 10:43:36 +00:00
mycroft
605490369c
Delint.
...
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
mycroft
e568b4cf30
Delint.
2000-01-22 21:19:29 +00:00
ad
902637d2e4
swapctl(SWAP_OFF, ...) now works.
2000-01-13 12:11:30 +00:00
tron
eec7b963e1
Correct typo reported by Jens Nilsson in PR misc/9069.
1999-12-29 21:19:36 +00:00
mjl
67b9836fda
Fix typo.
1999-12-28 02:51:17 +00:00
msaitoh
3b476f4adb
use .Er
1999-12-11 19:35:48 +00:00
kleink
15be242b3a
Add a LIBRARY section to system call manual pages. While it's clear that the
...
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
1999-12-02 21:42:35 +00:00
lukem
e0c4130ae6
use .Fn appropriately
1999-11-07 01:26:02 +00:00
is
cff7bedd54
Actually profile system calls.
...
Problem and most of the fix reported by Anders Hjalmarsson in PR 4976; libposix
mentioned by Chris G. Demetriou.
1999-10-27 14:58:28 +00:00
erh
4cb911b098
Add ENXIO error for FIFOs.
1999-10-21 19:40:22 +00:00
jdolecek
1baa9b08ef
remove the list of signals and xref signal(7) instead
1999-10-06 17:17:26 +00:00
jdolecek
7db4bda538
xref signal(7)
1999-10-06 17:16:56 +00:00
jdolecek
1124973cb5
Add SEE ALSO section and xref sigaction(2) and signal(7)
1999-10-06 17:14:55 +00:00
jdolecek
edf12166ba
xref signal(7)
1999-10-06 17:14:02 +00:00
bouyer
510907ed01
Document CTL_PROC, the core filename format it core(5), and xref sysctl(8),
...
sysctl(3), core(5) in various place.
Document 'options DEFCORENAME' inj options(4) and $defcorename in rc.conf(5).
1999-09-28 14:52:32 +00:00
jdolecek
8eb5a4184d
xref symlink(7)
1999-09-26 21:18:53 +00:00
jdolecek
7d96f3efd3
xref symlink(7)
1999-09-26 21:00:25 +00:00
sommerfeld
4a22cb272c
Correct the reference to the current value of MAXLOGNAME to reflect reality
1999-09-24 19:55:15 +00:00
thorpej
df6731425c
Update for XSH5.
1999-08-25 21:12:54 +00:00
thorpej
72b1756c5a
Update for XSH5.
1999-08-25 20:55:35 +00:00
thorpej
e9fc9322cc
Update for XSH5.
1999-08-25 20:30:05 +00:00
thorpej
30dca7f7db
Add __msgctl13(), __semctl13(), and __shmctl13() (symbols are __RENAME()'d
...
in their respective header files). Add PSEUDO stubs for the old versions
of these system calls.
Note that __semctl13() doesn't require the extra stub that the old
semctl()/__semctl() did, as the SUSv2 version takes variable arguments,
and thus does not require the extra indirection.
1999-08-25 05:09:27 +00:00
mrg
62db67a0e1
add a note that these requests were ignored in pre-1.5
1999-08-24 08:58:54 +00:00
tron
04cfded216
Revert last change after Ross Harvey fixed "mandoc".
1999-08-23 21:22:27 +00:00
tron
d483ef81c6
Use correct "mandoc" macro for concatenating "or" and "ing".
...
Fixes PR misc/8236 by "Wiz".
1999-08-23 21:12:55 +00:00
ross
2dfc8c4533
Note that nice +19 and nice +20 guarantee exclusion w.r.t. priority <= 0.
1999-08-20 19:58:20 +00:00
sommerfeld
a1caf9578c
Fix PR8208, this time to the correct location..
1999-08-18 19:46:00 +00:00
is
b9243cdc97
repair edito in BUGS session.
1999-08-16 14:10:06 +00:00
enami
2d400d39d4
Copy the definition of MADV_FREE from sys/mman.h.
1999-08-16 07:55:20 +00:00
christos
acef34de33
Add note that only the super-user may set or reset any flags on block
...
and character devices. [Commit by cjs.]
1999-07-31 03:30:44 +00:00
perry
72ec01bc0e
Restore some information about the page rounding behavior of these
...
functions, with a little bit of a caution that the page rounding
behavior isn't mentioned in standards documents that mention brk/sbrk.
Klaus removed this before, but I'm not sure why, and I've been unable
to reach him about the matter after trying for several days. The
information about the behavior has always been in the page and is
important for developers to know about.
1999-07-14 16:24:48 +00:00
kleink
e79a283e47
XSH5: change function signature to `void *sbrk(intptr_t)'.
1999-07-12 21:55:19 +00:00
kleink
d6127eeb14
Remove a paragraph from previous.
1999-07-12 14:51:10 +00:00
perry
0c91d3d222
Note that you can find out the system page size with sysconf(3).
1999-07-09 14:41:26 +00:00
perry
f31cd6341c
note in BUGS that the prototype of our sbrk is not standards compliant
...
and will need fixing.
1999-07-06 23:12:04 +00:00
perry
eeebdec53e
Clean up this mess a lot. I believe we still have the following
...
issues (at least):
1) sbrk is defined as returning char *, which violates XPG
2) I'm not clear on what happens if you try to sbrk() on a negative
incr that is less than the page size. I'm guessing "nothing", but we
should document this behavior.
3) XPG says some interesting things about whether new pages are
guaranteed zeroed. We say nothing about this. We should document our
behavior.
4) It isn't clear if *we* guarantee that malloc and sbrk can be mixed
in our API (I've documented that it isn't universally portable.)
We really should clean these up, too.
1999-07-06 16:36:15 +00:00
darrenr
b1319ee5b3
EOPNOTSUPP was incorrectly spelt as EOPNOSUPPORT
...
add ENFILE to list of errors.
1999-07-06 14:39:56 +00:00
sommerfeld
311927221b
Build system call stubs using system includes from ${DESTDIR}/usr/include
...
if DESTDIR is set.
This allows you to build a working libc which include syscall stubs
for new syscalls not defined in /usr/include/sys/syscall.h
1999-07-04 15:46:10 +00:00
wrstuden
1d74ac18fa
Give fhopen, fhstat, and fhstatfs a man page.
1999-06-30 01:32:14 +00:00
wrstuden
e401af6e26
Add fhopen, fhstat, and fhstatfs syscall stubs.
1999-06-29 22:22:06 +00:00
sommerfeld
8f37bce679
fix PR/7855
1999-06-26 04:12:45 +00:00
tron
adb46f40b2
Add missing reference to setsockopt(2) to "SEE ALSO" section.
1999-06-24 20:16:31 +00:00
thorpej
9b9494844a
MCL_FUTURE is now implemented.
1999-06-18 05:37:30 +00:00
thorpej
01d1ebf115
Note that MCL_FUTURE is not yet fully implented in the BUGS section.
1999-06-16 23:32:17 +00:00
thorpej
9fdf52a910
Note POSIX 1003.1b-1993.
1999-06-16 23:30:28 +00:00
thorpej
6cb6c24690
The (incorrect) nesting behavior of mlock(2) no longer exists.
1999-06-16 23:14:59 +00:00
thorpej
694cc23026
Add mlockall(2)/munlockall(2).
1999-06-15 23:31:19 +00:00
thorpej
e479f407c4
Fill out the mincore(2) manual page a little; define the NetBSD call
...
to be like the Solaris call.
1999-06-07 01:42:30 +00:00
kleink
c5dce7b8ff
Note that an EFAULT condition cannot be guaranteed to be detected (i.e. in the
...
MD implementation of pipe(2)); addresses PR kern/7720.
1999-06-06 22:50:26 +00:00
ross
c034f9952a
See the incredible, morphing, fcntl(2) parameter #3 change again!
...
This time, it actually matches the prototype and the 1003.1 definition.
1999-05-24 23:06:00 +00:00
sommerfe
db94801270
s/sigstack/sigaltstack/ in ERRORS section
1999-05-12 18:42:43 +00:00
christos
9d88908dad
use a local vfork declaration to avoid symbol renaming.
1999-05-04 13:53:11 +00:00
ross
1ba353b02e
Spelling.
1999-04-26 04:10:35 +00:00
kleink
28904498f5
Fix incorrect reference in ERRORS section; from Paul Wain in PR misc/7405.
1999-04-17 10:15:34 +00:00
kleink
6896db3b93
Remove duplicate section header; from NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
...
in PR lib/7320.
1999-04-09 14:11:57 +00:00
cgd
b22750720f
change:
...
.Sh "SEE ALSO"
to:
.Sh SEE ALSO
The doc macros check for the latter (actually just for 'SEE' as the first
argument to .Sh) to set the section header SEE ALSO flag, which modifies
some behaviour (e.g. references done with .Rs/.Re).
1999-04-06 04:54:19 +00:00
sommerfe
d70c7c2004
Document new chroot-related restrictions on fchdir, chroot, and ptrace
...
made possible by the kernel getcwd infrastructure
1999-03-26 23:37:27 +00:00
perry
d4076f1ce9
argument is void *, not char * (at least, to the extent that it is a pointer.
1999-03-25 18:48:16 +00:00
perry
3601ed9448
fix to note that arg is void * but is used by some commands as an int
1999-03-25 18:37:06 +00:00
mycroft
1b0b50098d
Fix a few things that were out of date or just plain wrong, and clean up some
...
formatting glitches.
1999-03-24 16:36:10 +00:00
hubertf
eb5057aab5
Better explain possible EBADF causes.
...
Patches submitted by Greg A. Woods <woods@planix.com> in PR lib/7206.
1999-03-24 13:40:51 +00:00
mycroft
68d6f4bf44
Remove spurious .ne's.
1999-03-24 06:27:49 +00:00
lukem
0a10e5dd4b
document new bind() restrictions
1999-03-23 10:59:11 +00:00
garbled
38c96853cf
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Wheee!
1999-03-22 19:44:33 +00:00
kleink
61c3516908
Introduce _PC_FILESIZEBITS.
1999-03-22 19:14:22 +00:00
kleink
29fc254df0
Bump the date.
1999-03-22 19:11:16 +00:00
kleink
4d282292e2
Introduce EOVERFLOW.
1999-03-22 19:03:38 +00:00
sommerfe
60a179e6aa
Build fchroot and __getcwd syscall stubs
1999-03-22 17:56:42 +00:00
mrg
32783bf7e7
-> <sys/swap.h>
1999-03-18 04:48:03 +00:00
kristerw
c068cca51b
EACESS -> EACCES. From OpenBSD.
1999-03-14 20:15:40 +00:00
hubertf
4e308589b1
Fix RB_STRING, per PR 7147 by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>
1999-03-14 01:30:16 +00:00
kleink
65a39c939e
Sync with declaration in <unistd.h>.
1999-03-10 09:52:54 +00:00
kleink
1f173d29a8
Fix a .Fa vs. .Fn bogon, and clarify somewhat.
1999-03-09 20:35:18 +00:00
kleink
e2a4add9f7
brk(2) actually returns an int indicating success (0) or failure (-1). Also,
...
change its argument to void *. (Both XSH5).
1999-03-09 20:33:22 +00:00
erh
bdfd2b2770
Add missing .El lines.
1999-03-09 19:45:09 +00:00
ross
53dc7656a3
More missing .El's.
1999-03-09 03:58:14 +00:00
ross
baa8fc090f
Missing .El.
...
Rewrite cheap .Bd -literal as a nice .Bl -column.
1999-03-09 03:49:46 +00:00
ross
0f9d1274e7
Missing .El.
1999-03-09 03:37:41 +00:00
drochner
08a728a40a
fix a number of pastos (msgflg where semflg is meant)
1999-03-06 11:56:53 +00:00
drochner
a34eb7c1b7
use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
...
libc builds on pmax again
1999-02-24 15:05:20 +00:00
erh
61d310601b
Add the section number to the poll xref.
1999-02-18 00:58:49 +00:00
kleink
df15a294f2
Dv vs. Va police.
1999-02-16 19:36:52 +00:00
carrel
9933831d6d
use clock_settime.2 not clock_settime.c in MAN
1999-02-11 20:42:49 +00:00
kleink
dd608c4189
Oops, forgot a word.
1999-02-11 15:22:54 +00:00
kleink
8c809f7e03
Document clock_settime(2) and friends.
1999-02-11 15:20:47 +00:00
kleink
710170a1d2
Reflect the addition of socklen_t.
1999-02-10 18:20:02 +00:00
is
87987d1d4d
Fix typo
1999-02-08 11:13:14 +00:00
tron
441c7a826d
On suggestion by Brian C. Grayson explain more detailed when [ENOENT]
...
will be returned.
1999-01-04 00:31:52 +00:00
tron
593de752d4
Mention that symlinks don't need to point to an existing file or
...
directory as suggested by Brian Grayson in PR misc/6711.
1999-01-02 16:05:26 +00:00
is
4ea0892d30
mention poll(2)
1998-12-11 22:35:32 +00:00
christos
e2695fedf7
Not -1, (uid_t)-1 and (gid_t)-1
1998-12-09 15:02:12 +00:00
abs
6381de4c64
Add links to getmntinfo(3) and getfsstat(2)
1998-12-07 05:17:53 +00:00
thorpej
58e61001ec
Warn about references to the compatibility stat(), fstat(), and lstat(),
...
and direct the user to include <sys/stat.h> to generate the correct
reference.
1998-12-02 19:47:45 +00:00
thorpej
6f91c82be7
Warn about references to the compatibility msync(), and direct the user to
...
include <sys/mman.h> to generate the correct reference.
1998-12-02 19:37:50 +00:00
christos
8cc3f31582
delint
1998-11-15 17:21:49 +00:00
kleink
abc6d45e5c
Need "namespace.h".
1998-10-14 11:56:28 +00:00
kleink
dc86984b00
Need internal names for ftruncate(), lseek(), mmap(), pread() and pwrite().
1998-10-14 11:25:18 +00:00
hwr
92c0c6e35b
Fixes kern/6216 by me.
1998-09-30 14:03:06 +00:00
thorpej
ebf8ba9c52
These are no longer needed.
1998-09-29 21:52:10 +00:00
christos
d5eb9fa908
Adapt to the new signal changes.
1998-09-26 23:58:14 +00:00
christos
4efafd6886
Add NOCLDWAIT documentation.
1998-09-18 18:41:23 +00:00
mrg
56b9b43fe0
<vm/vm_swap.h> -> <sys/swap.h>
1998-08-29 17:11:09 +00:00
mrg
b3159ade4d
- update for se_path member.
...
- while i'm here, document the swap flags, and also add (short) descriptions
of each of the swapent members.
1998-08-29 15:53:11 +00:00
lukem
ce83c69e00
first pass at fixing up capitalization of function names and
...
arguments; ensure that each is correct with respect to the
implementation, rather than being correct as per english.
1998-08-29 08:32:32 +00:00
mycroft
3748c7c959
Assign my copyrights to TNF.
1998-08-15 09:16:27 +00:00
kleink
ae9f044ef4
Document _PC_SYNC_IO.
1998-08-07 13:28:23 +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
kleink
c68582d64b
UIO_MAXIOV -> IOV_MAX
1998-08-03 15:01:00 +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
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
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