Peter Seebach wrote: > Is there any interest in attempting to provide a moderately portable > setproctitle()?
Yes, because it looks like a portable implementation will have to use different approaches on different platforms. [1] has the following: - use the function setproctitle. - use pstat(PSTAT_SETCMD, ...). - assign ->ps_argvstr - assign argv[0] - clobber argv and the environment area - send a Windows event Bruno [1] http://doxygen.postgresql.org/ps__status_8c-source.html
