History log of /netbsd/lib/libutil/pidfile.3 (Results 1 – 16 of 16)
Revision Date Author Comments
# ef4ca538 22-Oct-2017 abhinav <abhinav@NetBSD.org>

Add missing functions to the NAME section


# ebbd0709 11-Apr-2016 wiz <wiz@NetBSD.org>

Add serial commas. Fix minus. Sort SEE ALSO. Fix xref.


# b60a8a9c 10-Apr-2016 roy <roy@NetBSD.org>

Implement pidfile_lock, pidfile_read and pidfile_clean.

Discussed on tech-net@, ok core@.


# d83f5246 29-Mar-2011 jmmv <jmmv@NetBSD.org>

Extend pidfile(3) to support creating pid files in arbitrary locations.

If the argument provided to pidfile(3) contains a '/', then the value is
considered to be an absolute/relative path and the pi

Extend pidfile(3) to support creating pid files in arbitrary locations.

If the argument provided to pidfile(3) contains a '/', then the value is
considered to be an absolute/relative path and the pid file is created
in the given location.

Otherwise, pidfile(3) behaves as before and treats the provided value as
a basename to construct a pid file in /var/run/<basename>.pid. This means
that to create a pid file named "foo.pid" in the current directory, one
must specify "./foo.pid".

show more ...


# 0d0949de 05-May-2010 wiz <wiz@NetBSD.org>

Mark up NULL with Dv.


# 45b87028 04-May-2010 jruoho <jruoho@NetBSD.org>

Use .Fn instead of .Nm.


# 11a6dbe7 30-Apr-2008 martin <martin@NetBSD.org>

Convert TNF licenses to new 2 clause variant


# 472351e1 16-Apr-2003 wiz <wiz@NetBSD.org>

Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.


# 27adb020 01-Oct-2002 wiz <wiz@NetBSD.org>

New sentence, new line. From Robert Elz.


# 5f7ebe24 22-May-2002 wiz <wiz@NetBSD.org>

Grammar fix, and drop a .Pp after a section header.


# 0ee7a491 22-May-2002 itojun <itojun@NetBSD.org>

if called multiple times with different names, only the last pid file
will be kept


# c2c2980f 22-May-2002 itojun <itojun@NetBSD.org>

change return type of pidfile(3) to int (-1 on error), to inform caller
of errors. behavior now in sync with openbsd implementation.
(see tech-userlevel and bsd-api-discuss)


# 814f296b 07-Feb-2002 ross <ross@NetBSD.org>

Generate <>& symbolically.


# 2a957ed7 19-Oct-2001 tron <tron@NetBSD.org>

- Don't delete the pidfile if the process executing the cleanup handler
isn't the process who created it.
- If a new basename is supplied remove the an old pidfile if it was created
by this proce

- Don't delete the pidfile if the process executing the cleanup handler
isn't the process who created it.
- If a new basename is supplied remove the an old pidfile if it was created
by this process and create a new one as suggested by Jason Thorpe.
This fixes PR lib/13357 by Greg A. Woods.

show more ...


# 22e6ab1e 12-Apr-2001 sommerfeld <sommerfeld@NetBSD.org>

Fix typo.


# fb695fdc 06-Jun-1999 thorpej <thorpej@NetBSD.org>

Add pidfile(3), which write a pid file in /var/run, and arranges for it
to be removed on normal exit.