C Tutorial/stdio.h/perror — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...)  | 
				Admin (обсуждение | вклад)  м (1 версия: Импорт контента...)  | 
				
(нет различий) 
 | |
Текущая версия на 10:32, 25 мая 2010
perror
Item Value Header file stdio.h Declaration void perror(const char *str); Function maps error message to the global variable errno and outputs that string to stderr.
   
#include <stdio.h>
  #include <stdlib.h>
  int main(void)
  {
    perror("File error ");
  }