pooka
aaaf93f1d4
Add opendisk1(), which functions like opendisk(), but takes a function
...
pointer to the routine to be used for open().
2009-09-08 21:34:57 +00:00
joerg
07c495396f
Fix markup.
2009-07-14 18:56:14 +00:00
zafer
282680c9b1
correct spelling error.
2009-06-24 22:31:58 +00:00
christos
87fe4621ba
add a link to pw_copyx; from anon ymous
2009-06-20 14:28:29 +00:00
wiz
6a1c80cfff
Bump date for previous.
2009-05-13 23:02:52 +00:00
pgoyette
28469fc250
Implement snprintb_m(3) to provide multi-line bit/bit-field decode.
...
Discussed on tech-kern.
2009-05-13 02:50:31 +00:00
pgoyette
5fae2745d1
Update type of argument 4 from u_quad_t to uint64_t to match the actual
...
implementation.
2009-05-05 13:12:25 +00:00
wiz
efabe55512
Sort sections.
2009-05-04 20:43:48 +00:00
wiz
83412be2c1
Sort SEE ALSO.
2009-05-04 19:15:36 +00:00
joerg
33c9c1889e
Use semantic markup.
2009-04-11 17:26:32 +00:00
joerg
71c479831e
Fix markup.
2009-04-11 16:13:49 +00:00
uebayasi
df37ad1752
Correct the order of arguments in EXAMPLE. Bump date.
2009-03-26 05:00:10 +00:00
joerg
e85762f4cf
Specify width for tag list
2009-03-10 21:00:47 +00:00
joerg
997634fe14
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
2009-03-09 19:24:26 +00:00
christos
47b68f7fe6
remove pointless static.
2009-02-20 16:44:06 +00:00
lukem
53ff085f8b
WARNS=4
2009-01-18 12:13:32 +00:00
lukem
c5eb4ab601
fix -Wsign-compare issues
2009-01-18 11:56:51 +00:00
christos
50728e7823
merge christos-time_t
2009-01-11 02:57:17 +00:00
wiz
b52bc84da9
Sort errors.
2008-12-26 21:02:28 +00:00
christos
16338b1c19
document pw_getpwconf.
2008-12-26 00:49:28 +00:00
wiz
38d39e864c
Fix deleto in previous.
2008-12-23 21:46:13 +00:00
christos
9cd6b6e766
fix argument order in example.
2008-12-23 20:53:31 +00:00
christos
fa2088e532
PR/18150: John F. Woods: Print meaningful error messages on inconsistent/
...
corrupt entries.
2008-12-21 17:54:43 +00:00
wiz
78f0ebffc8
Re-add LIBRARY section.
2008-12-17 14:05:23 +00:00
wiz
f1c9faeb9d
Fix some minor mdoclint complaints.
2008-12-17 10:39:22 +00:00
christos
930983f9c3
use the bitmask_snprintf info which is more complete, and adjust it for
...
reality.
2008-12-16 23:19:16 +00:00
christos
c057bf8352
move snprintb to common
2008-12-16 22:34:40 +00:00
dholland
d5870e1cc6
Clarify that the "amaster" argument of forkpty() is only defined upon
...
return in the parent process, but the tty name is available to both
the parent and child. Bump date.
2008-11-28 07:17:17 +00:00
wiz
c099cd9e1e
Remove trailing whitespace.
2008-11-17 15:21:43 +00:00
wiz
6c6bf72afb
Bump date for new section.
2008-11-17 15:21:22 +00:00
ahoka
6afdea3900
SEE ALSO
...
efun(3)
2008-11-17 14:59:57 +00:00
drochner
1914237fbe
include <stdlib.h> explicitely, for exit(), getprogname() etc.
...
(it happens to be pulled in by the yacc skeleton, but we shouldn't
rely on this)
2008-07-17 16:24:55 +00:00
martin
11a6dbe728
Convert TNF licenses to new 2 clause variant
2008-04-30 13:10:46 +00:00
martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
oster
8b2eb1e024
Add the missing 'n' to 'correspoding'.
2008-02-23 18:35:04 +00:00
dholland
c60100b138
Use STDIN_FILENO and friends instead of magic constants 0/1/2.
...
Suggested by the patches in PR bin/36551 from Greg A. Woods.
2008-02-09 05:07:26 +00:00
mjf
d4a648c345
Implement a new magic string for magic symlinks, @ruid, which exapnds to the
...
real user id of the process and use this magic string for per-user tmp.
This should fix PR/35687
Kernel parts reviewed by wrstuden@
2007-12-04 22:09:01 +00:00
rillig
55bf992f36
The e* functions don't call the error handler in every case, just in
...
case of an error.
Mentioned the error conditions for the various functions.
2007-11-21 09:17:24 +00:00
christos
b093a7796c
split LOGIN_SETGROUP -> LOGIN_SETGID|LOGIN_SETGROUPS
2007-10-06 21:51:21 +00:00
lukem
2aa3c760cc
support nbtool_config.h.
2007-09-28 09:07:16 +00:00
lukem
e9aa053c09
Add raise_default_signal(3) -- raise the default signal handler.
...
Can be used by applications that have their own SIGINT (et al)
handlers and want to exit in a manner that correctly
signals to the parent that the process was terminated by a signal.
See http://www.cons.org/cracauer/sigint.html for more info.
Discussed on tech-userlevel@.
2007-09-25 01:13:54 +00:00
pooka
8ffb2866a1
* clarify error behaviour for getmntopts()
...
* invert getmnt_silent description (a.k.a. "fix it")
2007-08-26 22:53:01 +00:00
pooka
5cf35d2a60
Emulate behaviour described in man page and return NULL if an error occurs.
2007-08-26 22:46:15 +00:00
dyoung
bfa27930cb
In sockaddr_snprintf(sbuf, len, fmt, sa), do not write the terminating
...
null character outside of the byte region [sbuf, sbuf + len).
1) If the length of the buffer is 0, do not write a null character
at all. Previously, sockaddr_snprintf() may have been able to
overwrite sbuf[-1] if len was 0.
2) If the length of the buffer, len, is greater than 0, then write
the null at sbuf[len - 1]. Previously, sockaddr_snprintf()
wrote the null at buf[len - 1], where `buf' was a "cursor" that
did not necessarily equal `sbuf', the start of the buffer. Now,
sockaddr_snprintf() always writes the null at sbuf[len - 1].
2007-07-24 08:45:45 +00:00
pooka
060d8639e3
add estrndup()
2007-07-01 21:41:16 +00:00
wiz
e7023c08af
Remove pw_error prototype, the function is described in a different man page.
...
Bump date.
From Slava Semushin in private mail.
2007-02-17 09:37:55 +00:00
elad
5e2e282f9c
Add support for per-user /tmp.
...
Enabled via per_user_tmp in /etc/rc.conf (default off).
See security(8) and rc.conf(5) for more details.
Lots of input from thorpej@ & christos@, thanks!
2007-02-04 08:19:26 +00:00
cbiere
13b350466e
Fixed string truncation bug in flags_to_string(): SAPPEND() uses
...
sizeof(string) but string is a pointer to a malloc()ed buffer.
2007-01-16 17:34:02 +00:00
elad
7e90974e98
Consistent license.
2007-01-09 14:04:44 +00:00
wiz
f77162e1ea
Fix typo.
2006-12-23 09:55:47 +00:00