Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

syslog/ANSI C question

Status
Not open for further replies.

simanek

Programmer
Jan 19, 2001
137
US
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!"
~~~~
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top