#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>

int
main()
{
    printf("EPERM  : %s\n", strerror(EPERM));
    printf("EEXIST : %s\n", strerror(EEXIST));
    printf("ELOOP  : %s\n", strerror(ELOOP));
    printf("EACCES : %s\n", strerror(EACCES));
    printf("EISDIR : %s\n", strerror(EISDIR));
    printf("EMFILE : %s\n", strerror(EMFILE));   // too many open files
    printf("ENFILE : %s\n", strerror(ENFILE));   // too many open files in system
    printf("ENOENT : %s\n", strerror(ENOENT));
    printf("ENOTDIR: %s\n", strerror(ENOTDIR));
    printf("EROFS  : %s\n", strerror(EROFS));    // readonly file system
    printf("ETXTBSY: %s\n", strerror(ETXTBSY));
    printf("EBADF  : %s\n", strerror(EBADF));
    printf("ESPIPE : %s\n", strerror(ESPIPE));  // Illegal seek
    printf("ENOENT : %s\n", strerror(ENOENT));
    printf("EAGAIN : %s\n", strerror(EAGAIN));  // Resource temporarily
    printf("EFAULT : %s\n", strerror(EFAULT));  // Bad address
    printf("EINVAL : %s\n", strerror(EINVAL));
    printf("ESRCH  : %s\n", strerror(ESRCH));   // No such process
    printf("EINTR  : %s\n", strerror(EINTR));
    printf("ENOTSUP: %s\n", strerror(ENOTSUP));
    printf("EWOULDBLOCK: %s\n", strerror(EWOULDBLOCK));

    printf("EOVERFLOW  : %s\n", strerror(EOVERFLOW));

    exit(EXIT_SUCCESS);
}
