[BACK]Return to err.3 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/err.3 between version 1.13 and 1.14

version 1.13, 2001/09/16 02:30:23 version 1.14, 2002/02/07 07:00:11
Line 49 
Line 49 
 .Sh LIBRARY  .Sh LIBRARY
 .Lb libc  .Lb libc
 .Sh SYNOPSIS  .Sh SYNOPSIS
 .Fd #include <err.h>  .Fd #include \*[Lt]err.h\*[Gt]
 .Ft void  .Ft void
 .Fn err "int status" "const char *fmt" "..."  .Fn err "int status" "const char *fmt" "..."
 .Ft void  .Ft void
Line 121  if ((fd = open(file_name, O_RDONLY, 0)) 
Line 121  if ((fd = open(file_name, O_RDONLY, 0)) 
 .Pp  .Pp
 Display an error message and terminate with status indicating failure:  Display an error message and terminate with status indicating failure:
 .Bd -literal -offset indent  .Bd -literal -offset indent
 if (tm.tm_hour < START_TIME)  if (tm.tm_hour \*[Lt] START_TIME)
         errx(EXIT_FAILURE, "too early, wait until %s",          errx(EXIT_FAILURE, "too early, wait until %s",
             start_time_string);              start_time_string);
 .Ed  .Ed

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

CVSweb <webmaster@jp.NetBSD.org>