From owner-freebsd-questions@FreeBSD.ORG Tue Apr 8 15:17:48 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9D9637B404 for ; Tue, 8 Apr 2003 15:17:48 -0700 (PDT) Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79C6D43FB1 for ; Tue, 8 Apr 2003 15:17:48 -0700 (PDT) (envelope-from apeiron@comcast.net) Received: from [192.168.1.100] (pcp01380957pcs.levtwn01.pa.comcast.net [68.81.162.166]) by mtaout10.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HD100KE3PPMR7@mtaout10.icomcast.net> for freebsd-questions@freebsd.org; Tue, 08 Apr 2003 18:12:58 -0400 (EDT) Date: Tue, 08 Apr 2003 18:13:27 -0400 From: Christopher Nehren To: freebsd-questions@freebsd.org Message-id: <1049840007.685.79.camel@prophecy.dyndns.org> Organization: MIME-version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Content-type: multipart/signed; boundary="=-PXfHlY7Jpsvguk0lsGrK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Return values of the syslog(3) family X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 22:17:49 -0000 --=-PXfHlY7Jpsvguk0lsGrK Content-Type: text/plain Content-Transfer-Encoding: quoted-printable ... or rather, lack thereof. I'm not quite sure whom to ask about this, so please redirect me if this isn't the appropriate forum. I've looked at the prototypes of various BSD and Linux systems' syslog(3) calls, and they all have 'void' as the return type. Now, logically, since a log file is being written, wouldn't it be nice to know whether that call executed successfully? Yes, I've already thought of the "If you can't write to syslog, then you have larger problems than this" ... but how would one -know- they have these problems? I admit that I'm probably missing something about the Nature of Programming; but at least to this newbie, it seems like it defeats part of the point of calling the functions in the first place. TIA for any information about this. --=-PXfHlY7Jpsvguk0lsGrK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+k0mHUdqurN0fljsRAietAKC/KvFYouiEKnnJ/GJ4Fi0O+DBN1ACeIuka ZwXDs0Ck6rxrO28Mgaszw3Q= =v7YY -----END PGP SIGNATURE----- --=-PXfHlY7Jpsvguk0lsGrK--