NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES
#include <arpa/ftpd/systemLog.h>void systemSetThreadTitle(const char *fmt, ...);
Each time the generic code of the FTPD library receives a new FTP command, it calls systemSetThreadTitle with a title that contains the client FTP host name, the client FTP user name and the name of the command which is being processed.
systemSetThreadTitle may ignore this title or use it to set the current thread name (this is useful when debugging multi-threaded FTPD servers).
Traditional UNIX implementations use this title to set the name of the FTPD process so that it can be viewed using ps.
The arguments of systemSetThreadTitle obey the same rules as the printf arguments.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES