pidfile.3 (cb7cd07a0756ad4913c256d831461658e02e1249) | pidfile.3 (a27c52a943d6e236977c19df7e1f86f1b667b523) |
---|---|
1.\" Copyright (c) 2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 86 unchanged lines hidden (view full) --- 95function returns a valid pointer to a 96.Vt pidfh 97structure on success, or 98.Dv NULL 99if an error occurs. 100If an error occurs, 101.Va errno 102will be set. | 1.\" Copyright (c) 2005 Pawel Jakub Dawidek <pjd@FreeBSD.org> 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 86 unchanged lines hidden (view full) --- 95function returns a valid pointer to a 96.Vt pidfh 97structure on success, or 98.Dv NULL 99if an error occurs. 100If an error occurs, 101.Va errno 102will be set. |
103.Pp |
|
103.Rv -std pidfile_write pidfile_close pidfile_remove 104.Sh EXAMPLES 105The following example shows in which order these functions should be used. 106Note that it is safe to pass 107.Dv NULL 108to 109.Fn pidfile_write , 110.Fn pidfile_remove --- 143 unchanged lines hidden --- | 104.Rv -std pidfile_write pidfile_close pidfile_remove 105.Sh EXAMPLES 106The following example shows in which order these functions should be used. 107Note that it is safe to pass 108.Dv NULL 109to 110.Fn pidfile_write , 111.Fn pidfile_remove --- 143 unchanged lines hidden --- |