version 1.11, 2001/02/19 22:20:15 |
version 1.11.2.1, 2001/10/08 20:19:21 |
|
|
.\" |
.\" |
.\" Copyright (c) 1994, 1995 Christopher G. Demetriou |
.\" Copyright (c) 1994, 1995 Christopher G. Demetriou |
.\" All rights reserved. |
.\" All rights reserved. |
.\" |
.\" |
.\" Redistribution and use in source and binary forms, with or without |
.\" Redistribution and use in source and binary forms, with or without |
.\" modification, are permitted provided that the following conditions |
.\" modification, are permitted provided that the following conditions |
.\" are met: |
.\" are met: |
|
|
.\" information about NetBSD. |
.\" information about NetBSD. |
.\" 4. The name of the author may not be used to endorse or promote products |
.\" 4. The name of the author may not be used to endorse or promote products |
.\" derived from this software without specific prior written permission. |
.\" derived from this software without specific prior written permission. |
.\" |
.\" |
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. |
|
|
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
.\" |
.\" |
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> |
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> |
.\" |
.\" |
.Dd April 13, 1994 |
.Dd April 13, 1994 |
Line 70 setproctitle("foo! (%d)", getpid()); |
|
Line 70 setproctitle("foo! (%d)", getpid()); |
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr ps 1 , |
.Xr ps 1 , |
.Xr w 1 , |
.Xr w 1 , |
.Xr printf 3 , |
.Xr getprogname 3 , |
.Xr getprogname 3 |
.Xr printf 3 |
.Sh HISTORY |
.Sh HISTORY |
The |
The |
.Fn setproctitle |
.Fn setproctitle |
function first appeared in |
function first appeared in |
.Nx 1.0 . |
.Nx 1.0 . |