openlog() and facility parameter

S

Stu

Can somebody please explain what the facility paramter is in the
openlog() system call.

void openlog(const char *ident, int logopt, int facility);

The solaris man page says this:

The facility argument encodes a default facility to be assigned
to all messages that do not have an explicit facilty already
encoded. The initial default facility is LOG_USER.

But what does this mean ?

Thanks in advance for all that answer this post.
 
J

Jens.Toerring

Stu said:
Can somebody please explain what the facility paramter is in the
openlog() system call.
void openlog(const char *ident, int logopt, int facility);
The solaris man page says this:

Sorry, but you got the wrong newsgroup here, there is no
openlog() function in standard C, the topic of this group.
You better ask in a Solaris-specific group or at least one
dedicated to UNIX programming, e.g. comp.unix.programmer.

Regards, Jens
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top