freebsd-dev/lib/libutil
Pawel Jakub Dawidek e8cc80c0a0 In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet)
and the caller requested other process' PID by passing non-NULL pidptr
argument, we will wait at most 100ms for the PID to show up in the file and if
it won't, we will store -1 in *pidptr.

From now on, pidfile_open() function never sets errno to EAGAIN on failure.

In collaboration with:	des
MFC after:		1 week
2011-10-16 21:30:15 +00:00
..
_secure_path.3
_secure_path.c
auth.3
auth.c
auth.conf.5
expand_number.3
expand_number.c
flopen.3
flopen.c
fparseln.3
fparseln.c
gr_util.c
hexdump.3
hexdump.c
humanize_number.3 Add support for IEE/IEC (and now also SI) power of two notions of 2011-04-12 22:48:03 +00:00
humanize_number.c Add support for IEE/IEC (and now also SI) power of two notions of 2011-04-12 22:48:03 +00:00
kinfo_getallproc.3 - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
kinfo_getallproc.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
kinfo_getfile.3
kinfo_getfile.c
kinfo_getproc.3 - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
kinfo_getproc.c - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
kinfo_getvmmap.3
kinfo_getvmmap.c
kld.3
kld.c
libutil.h - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
login_auth.3
login_auth.c
login_cap.3
login_cap.c
login_cap.h
login_class.3 Add missing resource limits: 2011-03-24 16:06:57 +00:00
login_class.c
login_crypt.c
login_ok.3
login_ok.c
login_times.3
login_times.c
login_tty.3
login_tty.c
login.conf.5 Add missing "swapuse" resource limit. 2011-07-09 08:42:23 +00:00
Makefile - Commit work from libprocstat project. These patches add support for runtime 2011-05-12 10:11:39 +00:00
pidfile.3 In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet) 2011-10-16 21:30:15 +00:00
pidfile.c In pidfile_open(), if the pidfile is locked, but empty (PID is not stored yet) 2011-10-16 21:30:15 +00:00
property.3
property.c
pty.3
pty.c
pw_util.c
quotafile.3
quotafile.c
realhostname_sa.3
realhostname.3
realhostname.c
stub.c
trimdomain.3
trimdomain.c
uucplock.3
uucplock.c