Commit Graph

915 Commits

Author SHA1 Message Date
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