www.delorie.com/djgpp/doc/libc-2.01/libc_636.html   search  
Go to the first, previous, next, last section, table of contents.


sys_nerr

Syntax

#include <errno.h>

extern int sys_nerr;

Description

This variable gives the number of error messages in sys_errlist (see section sys_errlist).

Example

if (errno < sys_nerr)
  printf("Error: %s\n", sys_errlist[errno]);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997