OpenSolaris

You are not signed in. Sign in or register.

Heads-up: warn/err in libc

Date: Tue, 21 Aug 2007 08:26:11 +0200
From: Vladimir Kotal <Vladimir.Kotal at Sun dot COM>
To: on-all at eng dot sun dot com, onnv-gate at onnv dot eng dot sun dot com
Subject: Heads-up: warn/err in libc


The putback of

PSARC 2006/662 Make err/warn part of Solaris's libc
6495220 add err() et al. to libc

adds the following functions into libc:
   err
   verr
   errx
   verrx
   warn
   vwarn
   warnx
   vwarnx

These functions are equivalents of their counterparts in BSD systems' libc.
Going forward, I'd like to encourage people to look at replacing private
code that implements similar functionality with calls to these library
functions (where possible).

Thanks,

v.