Commit Graph

1181 Commits

Author SHA1 Message Date
wiz
4213bf340c Uppercase logical OR operator. 2007-07-18 23:34:23 +00:00
joerg
e4fc1154a4 Add native mremap system call based on the UVM implementation for
Linux compat. Add code to enforce alignment of the new location.
Special thanks to wizd for helping with the man page.
2007-07-17 17:42:07 +00:00
dsl
8f51f1bf76 Document the new 'data_len' argument.
Remove references to nfs export args and xref nfssvc(2) instead.
Change text to allow for other fs types.
2007-07-14 18:24:08 +00:00
dsl
4d09898946 Change libc system callstub from 'mount' to '__mount50', add compat call. 2007-07-14 15:53:04 +00:00
christos
cc32d5a569 Note ZFS returning the number of entries instead of the size of the directory. 2007-06-10 01:21:53 +00:00
christos
aaa4c88713 provide a weak symbol for readlink since it is used internally. 2007-06-03 17:35:24 +00:00
manu
d04d1dbd4b Try to make select(2) man page more insightful, by providing an example.
Based on contribution form Jean-Yves Migeon <Jean-Yves.Migeon@bde.espci.fr>
2007-05-29 07:54:17 +00:00
skrll
f99245a3c5 Correct the struct name for PT_LWPINFO 2007-03-12 12:50:42 +00:00
drochner
707016f5b9 the "addr" argument to ptrace(2) is void* now 2007-03-06 16:07:22 +00:00
wiz
50f4650669 Bump date for previous. 2007-03-02 20:25:34 +00:00
plunky
faf7b91031 Add PF_BLUETOOTH to list of supported protocol families 2007-02-20 19:08:59 +00:00
wiz
de27b6e4f4 Fix Dd argument. 2007-02-17 08:38:06 +00:00
ad
743f737961 Add manual pages for new LWP syscalls. 2007-02-10 10:38:25 +00:00
ad
e7cc9f60bb - Sync with reality.
- Fix date.
2007-02-10 10:34:03 +00:00
ad
a0f13ff82d - Exclude SA syscalls from LintSysNormal.c.
- Obsolete SA manual pages.
2007-02-09 23:48:27 +00:00
ad
401499f30e Sync with kernel changes introduced by merging the newlock2 branch. 2007-02-09 22:08:48 +00:00
wiz
b81f412f64 Sort ERRORS section. 2007-01-20 13:26:59 +00:00
wiz
0a4737c5de Drop trailing whitespace. 2007-01-20 13:24:44 +00:00
ad
24d35c8592 Manual pages for new LWP system calls. Not enabled in the Makefile. 2007-01-20 01:41:00 +00:00
drochner
11f2202b96 -fix use of arguments and remove an outdated section
-Xr mkfifo(2)
(btw, SUSv3 says that the only portable use of mknod() is to create
a FIFO. This is not supported by NetBSD.)
2007-01-18 14:07:01 +00:00
hubertf
55ac93d329 Remove more duplicate #includes, and a few spurious whitespaces at EOL
From Slava Semushin <slava.semushin@gmail.com>
2007-01-17 23:24:22 +00:00
ad
154a7ed75c Add: _lwp_kill, _lwp_detach, _lwp_park, _lwp_unpark, _lwp_unpark_all,
sched_yield.
2007-01-16 07:07:45 +00:00
wiz
7bbb7f45b1 Bump date for previous. 2007-01-09 06:41:57 +00:00
rillig
c79f6cc521 chmod fails with EPERM when you try to set the S_ISGID bit on a file
whose group isn't one of your groups.
2007-01-09 04:03:57 +00:00
wiz
b2fb822f2d Re-add removed block:
Christian Biere suggests it was a typo, and was intended to describe
ENFILE; let it do that.
2007-01-04 00:02:43 +00:00
wiz
49a81ec436 Remove duplicate EMFILE description. 2007-01-03 23:02:53 +00:00
cbiere
8106cb099a Fixed wrong and illogical statement:
fcntl() F_DUPFD does NOT set FD_CLOEXEC for the new file descriptor.
2007-01-03 11:50:47 +00:00
uebayasi
d8b460bb92 Whitespace. 2006-12-31 03:17:52 +00:00
yamt
5bb88600b0 remove nqnfs. pointed by Tom Spindler. 2006-12-29 22:56:55 +00:00
wiz
9e92895829 Sort errors; use Dv; s/=A0/ / 2006-12-23 08:09:31 +00:00
pooka
78ed4b8815 markup fixes 2006-12-22 11:56:45 +00:00
christos
df031f1edc PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the
physical memory
2006-11-25 21:40:04 +00:00
christos
4ca73ce810 Don't expose _ss functions for 4.0. Requested by core. 2006-11-22 17:23:24 +00:00
rillig
121d2aa3a7 Added EINTR and sorted the error names alphabetically. 2006-11-17 23:59:33 +00:00
christos
8a264b331e fix lint. 2006-11-10 17:37:39 +00:00
christos
30ae5bcf37 libgcc needs __stack_chk_fail_local(); make it public 2006-11-09 20:44:16 +00:00
christos
7734d80e4d Add the threaded version. 2006-11-08 23:25:54 +00:00
christos
146343edd5 add ssp code and bump. 2006-11-08 20:58:23 +00:00
cbiere
4b14bb6309 Changed error message of ENOPROTOOPT to "Protocol option not available". 2006-10-31 00:38:06 +00:00
mjf
b8fbc57a69 Add references to other filehandle man pages.
OK'd martin@
2006-10-30 18:53:42 +00:00
wiz
89d6e88da7 Bump date for previous. 2006-10-26 12:56:11 +00:00
rillig
5968766094 open(2) can fail with EPERM. 2006-10-23 14:04:05 +00:00
rillig
ced22230a0 Added a cross reference to stat(2), since that's the way how the current
flags can be determined.
2006-10-21 18:26:08 +00:00
wiz
1339a7549f Make HTML-output safe. 2006-10-13 20:58:50 +00:00
wiz
af34f948f1 Fix date string. 2006-10-13 20:57:32 +00:00
wiz
a199de4e6f Sort SEE ALSO. 2006-10-13 20:56:54 +00:00
wiz
f90c2de688 Sort SEE ALSO. 2006-10-13 20:53:21 +00:00
wiz
255a629420 No Xr to ourselves. English improvement. 2006-10-13 20:52:57 +00:00
wiz
adc55bc81c No Xr to ourselves. 2006-10-13 20:52:08 +00:00
wiz
a721d64ba8 Sort SEE ALSO. 2006-10-13 20:51:28 +00:00
wiz
8b2626be71 "occurred" with two "r", like the majority of files in this directory already
uses it.
2006-10-13 20:51:05 +00:00
wiz
f592019bff Bump date for previous.
New sentence, new line.
2006-10-13 00:19:21 +00:00
elad
dc2e62e609 Reword, based on changes from jmc@OpenBSD, thanks! 2006-10-11 11:22:50 +00:00
rillig
bec39efa30 Added a reference to ipcs(1), since that's where one can find out more
about the semaphore limits in case of [ENOSPC].
2006-10-08 08:22:34 +00:00
elad
1210859fa1 Add nit from rillig@ for PR/19603. 2006-10-07 22:02:47 +00:00
elad
9c5eec0043 PR/23152: Matthew Mondor: Minor improvements to section 2 man pages for
NetBSD 1.6.1

Well we're long gone from NetBSD 1.6.1 but I adapted the patch to -current
as it seemed reasonable. Thanks for submitting!
2006-10-07 21:03:51 +00:00
kardel
403d759108 - simplify code
- remove any 'permission checks' via geteuid() - with upcoming
  security models these might not match the model any more
- this also fixes a bug where ntp_adjtime() was denied (EPERM)
  even though only a legit read status was performed
2006-10-07 20:02:01 +00:00
chs
33c1fd1917 add support for O_DIRECT (I/O directly to application memory,
bypassing any kernel caching for file data).
2006-10-05 14:48:32 +00:00
wiz
e5b6473963 Add article. Remove superfluous braces. 2006-09-23 15:29:09 +00:00
mishka
5c5e03838a lib/26532: Manual page for open(2) bit difficult to understand:
apply patch with small improvement - s/conditions/methods/
2006-09-23 14:17:16 +00:00
wiz
e95704c08f Note that newer gcc require -fno-reorder-blocks.
Various other improvements. Bump date.
Based on a patch by skrll.
2006-09-19 19:54:43 +00:00
uebayasi
bd2328b737 Clarify POLLOUT and POLLWRNORM are equivalent. Bump date.
Reviewed By:	wiz
2006-09-08 09:43:51 +00:00
uebayasi
3ea2983121 Correct English; help with xtraeme. 2006-09-07 01:24:02 +00:00
jnemeth
335cb46309 PR/34218 -- Matt Fleming -- date hangs when root trys to set time
backwards while at securelevel >= 2
2006-08-17 09:59:55 +00:00
wiz
acffd648f6 Bump date for previous. Remove some Pp for consistency. 2006-08-05 18:18:37 +00:00
christos
e846b07c1f Update for Greg Woods. Add new options and mention the bit values together
with the options
2006-08-05 17:58:53 +00:00
wiz
3774518cbd Drop trailing whitespace. 2006-08-03 19:17:49 +00:00
martin
b4cb63a646 Make filehandles opaque to userland 2006-07-31 16:34:42 +00:00
christos
db1b909e30 More detailed errors [forgot to commit this a while ago] 2006-07-27 15:48:30 +00:00
wiz
2417e0f031 "file system", mark up NULL, use Brq for braces,
start sentence with uppercase letter.
2006-07-13 12:35:51 +00:00
martin
a3b5baed42 Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
mrg
e2eb31d3a3 version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
2006-06-26 21:23:56 +00:00
christos
d89021fe17 Modernize:
getopt -> getopts
	`` -> $()
	YES/NO -> true/false
	[ x$f = x ] -> [ -z $f ]
	test -> [
	errors to stderr
2006-06-18 14:28:12 +00:00
ginsbach
d05e0bc3e8 Add EAFNOSUPPORT as a possible error if the address family is not
supported.  This adds further differentiation between which argument to
socket(2) caused the error.  No longer are invalid domain (address family)
errors classified as ENOPROTOSUPPORT errors.  This should make socket(2)
conform to current POSIX and X/Open standards.  Fixes PR/33676.
2006-06-13 21:19:56 +00:00
ginsbach
315fde38db Sort ERRORS. Bump date. 2006-06-13 20:37:24 +00:00
chap
f3ef5715ba Document the recent trunk changes to ntp_gettime(2) (Hi Matthias!). 2006-06-04 15:46:08 +00:00
christos
98f3ad2656 Document SA_NOKERNINFO. 2006-06-03 18:23:52 +00:00
drochner
837ecb8ce8 support the new ntp_gettime() syscall and add compatibility for the old one 2006-05-29 10:02:56 +00:00
tsutsui
d2152dcfde - getvfsstat(2) isn't in 2.1 but 3.0
- getffstat() -> getfsstat()
2006-05-19 17:59:28 +00:00
tsutsui
d3eabd24ce fhstatvfs(2) isn't in NetBSD 2.1 but 3.0. 2006-05-19 17:57:37 +00:00
christos
b0a429fdb3 Document more MSG_ flags. From FreeBSD 2006-05-11 15:48:48 +00:00
christos
99f76ec337 Adjust for the fhstat() compat kernel change. 2006-05-04 19:00:18 +00:00
wiz
975e7796db Improve description of msg_name and msg_namelen fields.
Addresses PR 33330 by Nils O. Selaasdal.
Use more markup.
2006-04-23 19:06:59 +00:00
rtr
6f6a761f7f Remove "len was less than zero" from the list of reasons that the function
will fail with EINVAL since the len param is size_t and couldn't possibly
be "less than zero".

Resolves pr32516
2006-03-25 01:24:28 +00:00
christos
eb961d0e02 Add glue to build the compat library as a separate "libcold" turned off by
default. Clean up the libc Makefile and remove obsolete stuff such as copy
to libkern.
2006-03-11 21:07:18 +00:00
wiz
d9f154cd37 Use more markup. 2006-03-11 12:03:03 +00:00
christos
f7f0b66150 Do not use SCARG() in userland. Eliminates need for <sys/systm.h>. 2006-03-09 23:44:43 +00:00
christos
8dd3175c14 Add documentations for the 3 undocumented ptrace calls. 2006-03-06 15:47:42 +00:00
agc
637a896022 Fix two unusual capitalisations, and add a preposition which had gone
missing.
2006-03-05 22:06:08 +00:00
wiz
6506e28d85 Bump date for previous. 2006-02-24 21:50:43 +00:00
wiz
ad381e882e Improve English, fix a typo. 2006-02-24 21:50:04 +00:00
wiz
cba53a68f9 Link to getvfsstat(2) instead of getfsstat(2). 2006-02-24 20:49:38 +00:00
christos
176a6bf510 Text for the 3 new error messages, from Elad. 2006-02-21 00:11:01 +00:00
yamt
03c44ce523 document posix_fadvise. 2006-02-19 22:27:47 +00:00
chs
899d1b31b2 convert "magiclinks" from a per-fs mount option to a system-wide sysctl.
as discussed on tech-kern quite some time ago.
2006-02-12 01:32:06 +00:00
enami
18e10ad389 Replace a period, which is left unchanged when sentense is added in
rev. 1.7, to comma.
2006-02-02 05:13:57 +00:00
christos
f69cef4676 Make _Exit an alias to _exit. 2006-01-20 22:03:23 +00:00
wiz
208bc3eec1 dd CAVEATS section provided by martin@ with minor cleanup by me. 2006-01-15 16:35:58 +00:00
kleink
6012e94867 Xref pthread_sigmask(3). 2006-01-07 20:11:30 +00:00
uwe
40336aba3d Make "When set is null" into a separate paragraph for better readability. 2006-01-06 02:30:08 +00:00
chs
89a8f7b8c9 change errors returned for various operations on "/" to conform to SUSv3.
as discussed on tech-kern some time back.
2005-12-27 17:24:07 +00:00
perry
fd18408b9a u_intN_t -> uintN_t 2005-12-26 19:40:14 +00:00
yamt
0c2ecd688d add posix_fadvise. 2005-11-29 23:06:45 +00:00
gendalia
0fbb37df6f statvfs did not appear in 2.1, but in 3.0. 2005-11-04 06:09:20 +00:00
chs
c6be96e0fb update errors for EIDRM (which we've returned for a long time now). 2005-11-03 17:07:28 +00:00
wiz
9b6a45d9e2 Bump date for previous. Use more appropriate markup.
Add an article.
2005-10-31 11:34:16 +00:00
uwe
6f167bd3a0 Document PMC_INFO_CPUCTR_TYPE. 2005-10-27 01:10:09 +00:00
chs
03b40cf7d8 remove text about converting async to sync, since we don't do it anymore. 2005-10-18 03:18:16 +00:00
wiz
ee1cc13ae5 Use only mdoc macros; remove unneeded Nm argument; use more
macros; English improvements.
2005-09-23 20:27:10 +00:00
jmmv
2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
christos
5c902c0f21 Document that mkdir("/", x) returns EISDIR. According to POSIX this is not
an allowed error, but we return EIO and EDQUOT also which are not in POSIX
either.
2005-09-17 06:08:03 +00:00
christos
5b84b3983f compat core reorg. 2005-09-13 01:44:08 +00:00
wiz
d317fce6ec Remove unnecessary parentheses. Add comma in enumeration. 2005-09-10 22:27:39 +00:00
yamt
545c75e39d d_namlen is now 16-bit. 2005-09-05 21:58:38 +00:00
yamt
f5a548d35d sync with kernel. 2005-09-05 21:57:35 +00:00
jmmv
379e595c13 Document that binding local sockets now honors the user's umask, why this
was done and that this behavior is not supposed to be portable.  Filling
under the security considerations section because code not following the
guidelines given here can be "less secure".
2005-08-30 15:05:04 +00:00
christos
3303764533 64 bit inode changes 2005-08-19 02:04:54 +00:00
jmmv
13f8011cf8 Fix typo. 2005-08-14 07:28:29 +00:00
pooka
304eed6ad2 document the flags O_ALT_IO and O_NOCTTY 2005-08-11 10:35:24 +00:00
jmmv
6625b5f32f Lowercase after semicolon. 2005-08-05 13:21:13 +00:00
christos
86741d79ab - Fix the remaining indr_references so that they define lint symbols.
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror
2005-07-30 15:21:20 +00:00
christos
10ca8c1c36 We don't need to define fork anymore (pthread_atfork.c) or setlogin
(setlogin.c). Lint pass 2 works now.
2005-07-16 17:12:12 +00:00
thorpej
65412a2710 Implement expansion of special "magic" strings in symlinks into
system-specific values.  Submitted by Chris Demetriou in Nov 1995 (!)
in PR kern/1781, modified only slighly by me.

This is enabled on a per-mount basis with the MNT_MAGICLINKS mount
flag.  It can be enabled at mountroot() time by building the kernel
with the ROOTFS_MAGICLINKS option.

The following magic strings are supported by the implementation:

	@machine	value of MACHINE for the system
	@machine_arch	value of MACHINE_ARCH for the system
	@hostname	the system host name, as set with sethostname()
	@domainname	the system domain name, as set with setdomainname()
	@kernel_ident	the kernel config file name
	@osrelease	the releaes number of the OS
	@ostype		the name of the OS (always "NetBSD" for NetBSD)

Example usage:

	mkdir /arch/i386/bin
	mkdir /arch/sparc/bin
	ln -s /arch/@machine_arch/bin /bin
2005-06-23 00:30:28 +00:00
peter
6c8b6ba99c - Correct the fields in the stat structure. From PR/18255.
- Document the st_birthtime field.

Reviewed by wiz.
2005-06-14 12:10:02 +00:00
lukem
88c3eadbfa Add missing __RCSID() 2005-06-12 05:21:25 +00:00
christos
661bee744c unconst argument to swapctl(). 2005-06-12 02:57:58 +00:00
christos
385ca9a533 Remove the bogus const. 2005-05-29 21:12:27 +00:00
perry
478944b35b Change HISTORY. It traces execve only back to 4.2BSD, and it is a
touch older than that. (Surprisingly, though, it doesn't appear to
have been in v6.)
2005-05-07 17:29:19 +00:00
perry
d11d9afc47 cross reference script(7) 2005-05-07 02:32:35 +00:00
drochner
179747d76c getmntinfo() if a compatibility function, so there is no point in hiding
references to the compatibility getfsstat()
The real problem behind PR lib/29919 was a stale weak_alias, so back out
the workaround.
2005-04-12 21:36:46 +00:00
christos
67d11513a6 PR/29919: Evaldo Gardenali: getmntinfo() calling deprecated function getfsstat()
Fixed by defining an _getfsstat() internal function and calling that instead.
2005-04-07 16:24:18 +00:00
christos
1880024ade mention that SIG_IGN on SIGCHLD does not produce zombies. 2005-03-30 17:09:28 +00:00
kleink
b9a719ae1e Add restrict qualifiers to remaining <signal.h> function arguments. 2005-03-22 20:25:31 +00:00
kleink
363c26d4ba Interpose cancellation points in pollts() and pselect(), bringing us
to libc.so.12.127 and libpthread.so.0.6.
2005-03-18 11:23:44 +00:00
kleink
79b311d547 Crank the copyright year. 2005-03-10 19:53:22 +00:00
wiz
892987d654 End sentence with a dot. Remove trailing whitespace. 2005-03-10 16:51:42 +00:00
kleink
7dfdae2368 s/nil pointer/null pointer/ 2005-03-10 00:31:38 +00:00
kleink
6fe0a614b5 Add pollts() prototype to <poll.h>, and update manual page synopsis for
pollts() header use.
2005-03-10 00:29:37 +00:00
kleink
7ef4223e7d nil pointer -> null pointer 2005-03-09 22:28:52 +00:00
wiz
be7db22fff Bump date for previous. 2005-03-07 13:21:24 +00:00
kleink
1c7e2b47c4 Provide select() and pselect() prototypes in <sys/select.h>, per
1003.1-2001, and leave the select() prototype in <unistd.h> for
compatibility.  To allow for transition, reorganization of this is
deferred until netbsd-3 gets branched.
2005-03-05 19:48:38 +00:00
kleink
25bfafbaf1 Normalize the declarations of the FD_* "functions". 2005-03-03 20:49:47 +00:00
wiz
598792bd15 Bump date for pselect. 2005-02-28 10:42:19 +00:00
wiz
7564ea71d1 Bump date for pollts. 2005-02-28 10:42:10 +00:00
matt
79c744210f Build syscalls stubs for pselect and pollts. Update man pages. 2005-02-26 18:04:19 +00:00
matt
ab963ad04b Alphabetize main list of sources. 2005-02-25 21:51:10 +00:00
kleink
fd5cb0acea A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
  fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
  uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.
2005-02-09 21:35:46 +00:00
jwise
1161efa5da Comment back in cross-references to other man pages, was looking at a non-recent
DESTDIR.  Other half of last change was correct.

Pointed out by wizd.
2005-01-30 18:13:04 +00:00
jwise
449bc64125 <sys/types.h> must be included before <sys/uuid.h>.
Also, while here, remove `SEE ALSO' section which referenced only man pages
which we do not have.
2005-01-30 03:20:17 +00:00
wrstuden
e384a44e9d Extend fsync_range(2) to support the FDISKSYNC flag, which requests
that the sync be propogated out through the disk drive caches.
2005-01-25 23:55:20 +00:00
kleink
774c973096 Note ENOATTR; from FreeBSD. 2005-01-20 13:23:57 +00:00
christos
8ef68a6575 document PT_DUMPCORE. 2005-01-09 17:41:19 +00:00
jmmv
3b31a140fa Fix a typo and add a missing blank line. 2005-01-06 20:31:12 +00:00
ginsbach
9d30c15dda Add EPERM to fchmod() failure list. 2005-01-06 16:30:52 +00:00
jmmv
8f037de0f8 Remove a trailing dot to match all other items in the same list. 2005-01-02 19:39:43 +00:00
wiz
f5c79d74cd Sort sections and SEE ALSO. Remove superfluous comma. 2005-01-02 18:28:48 +00:00
thorpej
4cc9b402ea Remove VOP_*() references. 2005-01-02 16:48:18 +00:00
thorpej
c165c2b31d System calls and support routines for file system extended attributes. Libc
version is bumped to 12.125.

From FreeBSD.
2005-01-02 16:43:26 +00:00
snj
316a956c56 Bump date for last. 2004-12-12 05:56:45 +00:00
yamt
ebf187e60c document correct return value. PR/28571 from ITOH Yasufumi. 2004-12-12 01:09:44 +00:00
kleink
504ab89f25 Remove references to the header SIG_* are located in altogether;
<sys/signal.h> exposed too much implementation detail, and <signal.h>
remains the sole header referenced by this page.
2004-11-23 09:38:45 +00:00
jmmv
86ebfff7b8 Minor grammar fixes. 2004-11-21 10:45:08 +00:00
wiz
3f1cd2faeb Bump date for FIONWRITE and FIONSPACE. 2004-11-08 16:15:42 +00:00
wrstuden
16029d56b5 Add support for FIONWRITE and FIONSPACE ioctls. FIONWRITE reports
the number of bytes in the send queue, and FIONSPACE reports the
number of free bytes in the send queue. These ioctls permit applications
to monitor file descriptor transmission dynamics.

In examining prior art, FIONWRITE exists with the semantics given
here. FIONSPACE is provided so that programs may easily determine how
much space is left in the send queue; they do not need to know the
send queue size.

The fact that a write may block even if there is enough space in the
send queue for it is noted in the documentation.

FIONWRITE functionality may be used to implement TIOCOUTQ for Linux
emulation - Linux extended this ioctl to sockets, even though they are
not ttys.
2004-11-06 02:03:20 +00:00
jmmv
fda2840eea Add missing colon symbol after sentence. 2004-11-03 13:11:41 +00:00
perry
653de456c5 Note that MAP_ANON memory is zero filled. 2004-10-04 18:14:48 +00:00
pooka
f213e15f84 The values for the parameter "how" are defined in sys/signal.h, not signal.h 2004-08-25 11:56:50 +00:00
wiz
5bf3687024 Add an article. 2004-08-14 11:04:29 +00:00
jdolecek
64fbdbbf78 document timeradd() and timersub() too, as e.g. select(2) points
to getitimer(2) for timersub() description

use .Fn rather than .Fa for the macro names

bump date
2004-08-14 10:03:30 +00:00
mycroft
a10e4d1f3a Cardbus -> CardBus 2004-07-03 17:36:51 +00:00
wiz
a26de71379 Do not xref ourselves; grammar fixes. 2004-06-25 15:29:25 +00:00
lha
cc333b3dd7 Add list of async-signal-safe functions
Approved by wiz
2004-06-13 19:17:06 +00:00
lha
bb3caff139 Expand a little bit on forks behavior in threaded programs
OK by nathanw and martin
2004-06-10 23:45:07 +00:00
kleink
d355352b08 Don't refer to errno as "global integer variable". 2004-06-01 16:12:51 +00:00
lukem
b8580dfae9 Put the description of "options" in a new paragraph, for consistency 2004-05-24 05:52:52 +00:00
kleink
6b3fbf5d75 IEEE Std 1003.1-2001/Cor 2-2004, item XSH/TC2/D6/5: fdatasync() shall
have cancellation points.

Note: we ride today's resolver-related version bumps.
2004-05-21 17:15:42 +00:00
kleink
675001e211 * Note string termination behaviour of NAME_MAX vs. PATH_MAX.
* Replace reference to non-existant KERN_NAME_MAX appropriately with
  {NAME_MAX}.
2004-05-19 11:40:51 +00:00
wiz
59c0620d8b Bump date for previous. 2004-05-18 14:53:47 +00:00
ragge
3a42a9c112 Update connect manpage to reflect current changes. 2004-05-18 12:21:29 +00:00
wiz
64ebeb5cbc \- is a minus, not -. 2004-05-13 10:20:57 +00:00
wiz
339084de19 \- is a minus, not -. 2004-05-13 10:10:46 +00:00
kleink
c54a69ad5a Like in shmget(2), elaborate on IPC_EXCL in the description. 2004-05-13 01:49:55 +00:00
kleink
2594bcf8ad Repair sentence in previous. 2004-05-13 01:43:13 +00:00
kleink
aa87f3ef0e * Undo rev. 1.9, most of which was either redundant, inaccurate, or wrong.
* Elaborate on IPC_EXCL in the description.
2004-05-13 01:39:14 +00:00
wiz
7117989465 Sort sections; use \*[Lt]\*[Gt] instead of <>. 2004-05-11 20:02:54 +00:00
kleink
58c660fd11 When using PATH_MAX in the example, make sure we include <limits.h>! 2004-05-11 17:39:36 +00:00
kleink
3bb0518901 Add an example code piece; suggested by Thomas Klausner. 2004-05-11 17:38:18 +00:00
wiz
d5286aa001 End sentence with a dot. 2004-05-11 12:29:22 +00:00
kleink
8df3999b0c While I'm at it: add restrict qualifiers to readlink(2). 2004-05-10 22:33:08 +00:00
kleink
43b7ae77fa POSIX-2001: Change readlink(2)'s return type from int to ssize_t. 2004-05-10 22:28:23 +00:00
yamt
609701c865 - note its typical usage.
- bump date.
2004-05-09 11:28:58 +00:00
kleink
681b62c2ce POSIX-2001: Add restrict keywords to gettimeofday(2) and setitimer(2);
further deprecate struct timezone usage by changing `tzp' argument to
gettimeofday() to void *; align utimes(2) declaration by changing `times`
argument from struct timeval * to struct timeval[2].  From Murray
Armfield in PR standards/25331.

In due curse, reflect these changes in futimes(2), lutimes(2), and
settimeofday(2).
2004-04-27 01:12:44 +00:00
kleink
3e7f30c118 POSIX-2001: Change the `who' argument to [gs]etpriority(2) from int
to id_t.  Partially addressing PR standards/25216 from Murray Armfield.
2004-04-25 22:18:08 +00:00
kleink
8b6d4dd0ae Xref statvfs(5). 2004-04-21 21:25:59 +00:00
wiz
3274408555 Whitespace nits; fix a minus; remove unnecessary {}. 2004-04-21 12:18:23 +00:00
wiz
1c276b3fae Mark up NULL, and fix a minus. 2004-04-21 12:16:00 +00:00
wiz
bb32d7ba63 Drop trailing whitespace. 2004-04-21 12:10:36 +00:00
christos
6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
wiz
71cdf6adc0 Fix typo in xref. 2004-04-19 11:27:03 +00:00
lukem
968e09b852 Document RLIMIT_SBSIZE. 2004-04-19 01:53:21 +00:00