Date: Thu, 6 Dec 2018 21:19:53 +0300 From: Yuri Pankov <yuripv@yuripv.net> To: Steve O'Hara-Smith <steve@sohara.org>, Brian Wood <woodbrian77@gmail.com> Cc: tclug-list <tclug-list@mn-linux.org>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Includes for syslog() Message-ID: <cba53eb2-62a4-f973-4965-743ab1b8176b@yuripv.net> In-Reply-To: <20181125183533.a2ba2f6f66e4856f29d3b846@sohara.org> References: <CABWFOjtO1cuYfsGnKW-=v7Fm=ceNS=T57wQLodA4syrTtYAg%2Bg@mail.gmail.com> <20181125183533.a2ba2f6f66e4856f29d3b846@sohara.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --DGaegiSqBCE36AOudFCFWdW7wh9J8lyVS Content-Type: multipart/mixed; boundary="OJOzk3f7pCTVKUyv7FXC5NeRAN5sSEOKr"; protected-headers="v1" From: Yuri Pankov <yuripv@yuripv.net> To: Steve O'Hara-Smith <steve@sohara.org>, Brian Wood <woodbrian77@gmail.com> Cc: tclug-list <tclug-list@mn-linux.org>, FreeBSD Questions <freebsd-questions@freebsd.org> Message-ID: <cba53eb2-62a4-f973-4965-743ab1b8176b@yuripv.net> Subject: Re: Includes for syslog() References: <CABWFOjtO1cuYfsGnKW-=v7Fm=ceNS=T57wQLodA4syrTtYAg+g@mail.gmail.com> <20181125183533.a2ba2f6f66e4856f29d3b846@sohara.org> In-Reply-To: <20181125183533.a2ba2f6f66e4856f29d3b846@sohara.org> --OJOzk3f7pCTVKUyv7FXC5NeRAN5sSEOKr Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Steve O'Hara-Smith wrote: > On Sun, 25 Nov 2018 11:40:40 -0600 > Brian Wood <woodbrian77@gmail.com> wrote: >=20 >> Shalom >> >> This page >> https://www.unix.com/man-page/freebsd/3/openlog/ >> >> lists >> #include <syslog.h> >> #include <stdarg.h> >> >> as includes on a FreeBSD system. On Linux there's >> no mention of stdarg.h. I was wondering if stdarg.h >> is only needed on FreeBSD if you call vsyslog() and >=20 > That's correct, nothing about syslog needs you to include stdarg, > but you'll need the macros in there if you want to call vsyslog. Thanks for noticing it, should be fixed in r341639. --OJOzk3f7pCTVKUyv7FXC5NeRAN5sSEOKr-- --DGaegiSqBCE36AOudFCFWdW7wh9J8lyVS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+Gq3PsPeLT4tL/9wk4vgf7Eq4WwFAlwJaEkACgkQk4vgf7Eq 4WxvpAgAiIaFMF+RxQqq+EOmjEcP7Cz9oxFrpYSSdUt7949QfmZgNRmuP0YSmDeJ XW4PyZrKkeUL46tYgZddSPQzn1bBsZN5EwyBzorEF+gf36Wat6acsixqNI21pqcT CSYc/vCS6EiCb98VxDno94lFoTNgGICRfaRIRMm81vuxt/KSN2cJx9ReH2xECjch j9sMfp4E6G/p4wJ9AtiXOhMevETWNZbtDdd3ffIIX7m3W9V+tK4c3ePoMrS9N8Xw 6tqTC8RG9XdWNNs2HeTbe3oMdb//4s+9pXeIk9GO0as5+HiBVFd26FKJ3zLfDAYc JImu9O1NYL2uDmY88r7Mb6AlbAsizA== =58Ft -----END PGP SIGNATURE----- --DGaegiSqBCE36AOudFCFWdW7wh9J8lyVS--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cba53eb2-62a4-f973-4965-743ab1b8176b>