Article View: news.software.nntp
Article #16065Re: inn-1.5.1 and Solaris
From: Brett Hawn [NOL STAFF]
Date: Wed, 19 Mar 1997 00:00
Date: Wed, 19 Mar 1997 00:00
55 lines
2034 bytes
2034 bytes
Its not particularly important as it could technically be done with a quick
replacement of argv[0]. setproctitle() isn't in SysV as I understand it
because of it what it does. The following is a quick piece of the freebsd
man page:
NAME
setproctitle - set the proccess title for ps(1)
SYNOPSIS
#include <libutil.h>
void
setproctitle(const char *fmt, ...)
Link with -lutil on the cc(1) command line.
DESCRPITION
The setproctitle() library routine sets the process title that appears
on the ps(1) line.
[snip]
to emulate this in SysV a fast (and dirty) call to strcpy() could be used
like:
strcpy(argc[0], "admins really hate this");
generally argv[0] is the name of the called process taken from the command
line.
Yen Jui Hung (juihung@iti.gov.sg) wrote:
: Hi,
:
: I have been trying to compile inn-1.5.1 under Solaris2.5. There were
: some problems, so here I am. 8)
:
: During linking under nnrpd, it reported that "setproctitle" was not
: found. So I set the HAVE_SETPROCTITLE to "DONT" to force it through.
:
: Is setproctitle important? Is there some other solutions to this?
:
: Thanks for any replies.
:
: With regards,
: Jui Hung, Yen
--
[-] Brett L. Hawn (blh @ nol dot net) [-]
[-] Networks On-Line - Houston, Texas [-]
[-] 713-467-7100 [-]
Technical Details
Message-ID:
<5gonsm$524$1@news.nol.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<332F8C34.2450@iti.gov.sg>Show Full Headers
Complete Article Headers
Message-ID: <5gonsm$524$1@news.nol.net> Subject: Re: inn-1.5.1 and Solaris Date: Wed, 19 Mar 1997 00:00:00 +0000 From: blh@nol.net (Brett Hawn [NOL STAFF]) References: <332F8C34.2450@iti.gov.sg> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 226716659 Organization: Networks On-Line Newsgroups: news.software.nntp