From: walter harms <wharms-fPG8STNUNVg@public.gmane.org>
To: Ian Abbott <abbotti-GUHe90Wt2aFaa/9Udqfwiw@public.gmane.org>
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: syslog(3) inconsistency
Date: Fri, 24 Mar 2017 17:48:28 +0100 [thread overview]
Message-ID: <58D54DDC.8060507@bfs.de> (raw)
In-Reply-To: <8ab6f0a9-1a71-c776-80a2-5913e941aaf2-GUHe90Wt2aFaa/9Udqfwiw@public.gmane.org>
Am 23.03.2017 19:37, schrieb Ian Abbott:
> Hi,
>
> The first parameter of `syslog()` is called `priority` in the man-page,
> except in the breakdown of the possible log levels, where it is called
> `level`.
>
Hi Ia,
do you thing that this example would be helpful ?
re,
wh
#include <syslog.h>
int main()
{
openlog("prgname",LOG_PERROR|LOG_NDELAY,LOG_LOCAL0);
syslog(LOG_LOCAL0|LOG_DEBUG,"hello error");
closelog();
return 0;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2017-03-24 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-23 18:37 syslog(3) inconsistency Ian Abbott
[not found] ` <8ab6f0a9-1a71-c776-80a2-5913e941aaf2-GUHe90Wt2aFaa/9Udqfwiw@public.gmane.org>
2017-03-24 14:40 ` Michael Kerrisk (man-pages)
[not found] ` <4f302a52-1098-2b1a-baac-732b15784ee4-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-03-24 17:26 ` Ian Abbott
[not found] ` <bee344ea-5734-8106-183c-4530e2d245d6-GUHe90Wt2aFaa/9Udqfwiw@public.gmane.org>
2017-03-26 12:46 ` Michael Kerrisk (man-pages)
[not found] ` <5d6ef264-1afe-0059-38fb-c7ebe7657b72-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-03-27 9:34 ` Ian Abbott
[not found] ` <68bdb70e-a70f-19a7-d85d-922c18d60833-GUHe90Wt2aFaa/9Udqfwiw@public.gmane.org>
2017-03-27 9:49 ` walter harms
2017-03-24 16:48 ` walter harms [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58D54DDC.8060507@bfs.de \
--to=wharms-fpg8stnunvg@public.gmane.org \
--cc=abbotti-GUHe90Wt2aFaa/9Udqfwiw@public.gmane.org \
--cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.