delorie.com/djgpp/doc/libc/libc_799.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

sys_errlist

Syntax

 
#include <errno.h>

extern char *sys_errlist[];

Description

This array contains error messages, indexed by errno, that describe the errors.

Portability

ANSI/ISO C No
POSIX No

Example

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


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004