[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

.so query



Hi,
I have a question. Maybe I am missing something...

I was looking at glib code. I wanted to know how does
the library maintain data passed down by a process across
multiple api calls. ie. let  us say, first the process said, openlog();
where it passed a identity string. For subsequent api calls
which are syslog() , the identity string will be appended to the
actual log message. I remeber vaguely not seeing anything
there, where per process data structure is maintained by the library.
Even if static variable is used, how does it work ? because multiple
processes will be linked to the same library.

TIA
Pankaj