summaryrefslogtreecommitdiff
path: root/lib/libutil/pidfile.c
AgeCommit message (Expand)Author
2019-06-28Actually, the C standard only guarantees that atexit(3) returns non-zeroIngo Schwarze
2019-06-28atexit() returns -1 on failureTheo de Raadt
2015-11-27Remove three NULL-checks before free(). ok millert@mmcc
2015-06-03Do not assume that asprintf() clears the pointer on failure, whichTodd C. Miller
2014-06-30sys/types.h rather than sys/param.h, where applicable. avoid overreach.Theo de Raadt
2013-10-01Fix FILE * leak in error path if fprintf fails. Found by and OK gilles@Todd C. Miller
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2005-08-02scrape $Id$ tags.Marc Espie
2004-05-28knf; otto okTheo de Raadt
2002-05-26pid_t cleanupTheo de Raadt
2002-05-22atexit(3) can fail. handle error accordingly. deraadt okJun-ichiro itojun Hagino
2002-01-02pids should be pid_t, not intMike Pechkin
2001-12-08save the pid as well, and only do the atexit in the same pidTheo de Raadt
2001-09-28add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.Jakob Schlyter