NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | ATTRIBUTES
#include <arpa/ftpd/systemLog.h>void systemSetThreadTitle(const char *fmt, ...);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
Each time the generic code of the FTPD library receives a new FTP command, it calls systemSetThreadTitle. The arguments specify the client FTP host name, the client FTP user name and the command name.
systemSetThreadTitle can 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 those of printf.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | DESCRIPTION | ATTRIBUTES