C Tutorial/string.h/strerror — различия между версиями

Материал из C\C++ эксперт
Перейти к: навигация, поиск
м (1 версия: Импорт контента...)
 
(нет различий)

Текущая версия на 10:32, 25 мая 2010

strerror

Item Value Header file string.h Declaration char *strerror(int errnum); Return returns error message associated with the errnum.

Print an implementation-defined error message on the screen:


#include<string.h>
#include<stdio.h>
int main(void){
  printf(strerror(10));
}