I apologize for posting the following in both the C and Solaris forums but I get the feeling I'm going to need all the help I can get on this one:
I'm reading throught the source of an imapd file and I've come across the following line:
syslog (LOG_INFO,"%s, while reading line user=%.80s host=%.80s",e,user ? user : "???",tcp_clienthost ());
I know what syslog does (sortof) but what on earth does %.80s mean? %s too. I've found no mention of them in the syslog man pages and was wondering if this somehow was a solaris specific thing or something. Thanks. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~
I'm reading throught the source of an imapd file and I've come across the following line:
syslog (LOG_INFO,"%s, while reading line user=%.80s host=%.80s",e,user ? user : "???",tcp_clienthost ());
I know what syslog does (sortof) but what on earth does %.80s mean? %s too. I've found no mention of them in the syslog man pages and was wondering if this somehow was a solaris specific thing or something. Thanks. Mike
~~~~
simanek@uiuc.edu
"It's a Swingline!"
~~~~