-
Notifications
You must be signed in to change notification settings - Fork 0
/
e_errno.c.1
50 lines (47 loc) · 2.89 KB
/
e_errno.c.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#include <stdio.h>
#include <errno.h>
int main ()
{
printf( "%-6s%s\n", "!", "DO NOT EDIT THIS FILE.");
printf( "%-6s%s\n", "!", "It is created from e_errno.c");
printf( "%-6s%s\n", "!", "");
const char *fmt = "%-6s%s%-13s%-2s%2d\n" ;
printf( fmt, "","integer,parameter :: ","E2BIG ","=",E2BIG );
printf( fmt, "","integer,parameter :: ","EACCES ","=",EACCES );
printf( fmt, "","integer,parameter :: ","EAGAIN ","=",EAGAIN );
printf( fmt, "","integer,parameter :: ","EBADF ","=",EBADF );
printf( fmt, "","integer,parameter :: ","EBUSY ","=",EBUSY );
printf( fmt, "","integer,parameter :: ","ECHILD ","=",ECHILD );
printf( fmt, "","integer,parameter :: ","EDEADLK ","=",EDEADLK );
printf( fmt, "","integer,parameter :: ","EDOM ","=",EDOM );
printf( fmt, "","integer,parameter :: ","EEXIST ","=",EEXIST );
printf( fmt, "","integer,parameter :: ","EFAULT ","=",EFAULT );
printf( fmt, "","integer,parameter :: ","EFBIG ","=",EFBIG );
printf( fmt, "","integer,parameter :: ","EINTR ","=",EINTR );
printf( fmt, "","integer,parameter :: ","EINVAL ","=",EINVAL );
printf( fmt, "","integer,parameter :: ","EIO ","=",EIO );
printf( fmt, "","integer,parameter :: ","EISDIR ","=",EISDIR );
printf( fmt, "","integer,parameter :: ","EMFILE ","=",EMFILE );
printf( fmt, "","integer,parameter :: ","EMLINK ","=",EMLINK );
printf( fmt, "","integer,parameter :: ","ENAMETOOLONG","=",ENAMETOOLONG );
printf( fmt, "","integer,parameter :: ","ENFILE ","=",ENFILE );
printf( fmt, "","integer,parameter :: ","ENODEV ","=",ENODEV );
printf( fmt, "","integer,parameter :: ","ENOENT ","=",ENOENT );
printf( fmt, "","integer,parameter :: ","ENOEXEC ","=",ENOEXEC );
printf( fmt, "","integer,parameter :: ","ENOLCK ","=",ENOLCK );
printf( fmt, "","integer,parameter :: ","ENOMEM ","=",ENOMEM );
printf( fmt, "","integer,parameter :: ","ENOSPC ","=",ENOSPC );
printf( fmt, "","integer,parameter :: ","ENOSYS ","=",ENOSYS );
printf( fmt, "","integer,parameter :: ","ENOTDIR ","=",ENOTDIR );
printf( fmt, "","integer,parameter :: ","ENOTEMPTY","=",ENOTEMPTY );
printf( fmt, "","integer,parameter :: ","ENOTTY ","=",ENOTTY );
printf( fmt, "","integer,parameter :: ","ENXIO ","=",ENXIO );
printf( fmt, "","integer,parameter :: ","EPERM ","=",EPERM );
printf( fmt, "","integer,parameter :: ","EPIPE ","=",EPIPE );
printf( fmt, "","integer,parameter :: ","ERANGE ","=",ERANGE );
printf( fmt, "","integer,parameter :: ","EROFS ","=",EROFS );
printf( fmt, "","integer,parameter :: ","ESPIPE ","=",ESPIPE );
printf( fmt, "","integer,parameter :: ","ESRCH ","=",ESRCH );
printf( fmt, "","integer,parameter :: ","EXDEV ","=",EXDEV );
return 0;
}