setproctitle() made simpler. (This assumes the string is
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 2 Aug 2001 13:18:08 +0000 (13:18 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 2 Aug 2001 13:18:08 +0000 (13:18 +0000)
commit6f2ad931e2b0390c895341c3cd8e3fad2616118f
tree99d62700ce5cc0686bbfd8b61283449b385b50df
parentc4e332073ffbdafd95fb09d80b489f6898a490ba
setproctitle() made simpler.  (This assumes the string is
\0-terminated: if not, the three-arg form setproctitle(fmt, len, s)
should be used.  Note len, not len + 1.)  BSD-fu from Anton
Berezin.

p4raw-id: //depot/perl@11548
mg.c