X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=platform%2Fgandr%2Ffunctions%2F_PDCLIB%2F_PDCLIB_stdinit.c;fp=platform%2Fgandr%2Ffunctions%2F_PDCLIB%2F_PDCLIB_stdinit.c;h=54ef0e38ddb067db5f0bbf912a018a64a83f16d4;hp=c622ff043c2bf36ea2b264970c5ab701f83c31e4;hb=9feedd59d824b75950b8d15be6a2a34534c2a6d9;hpb=62ee8c813a22690a258c23c4c0befab9174ea9b1 diff --git a/platform/gandr/functions/_PDCLIB/_PDCLIB_stdinit.c b/platform/gandr/functions/_PDCLIB/_PDCLIB_stdinit.c index c622ff0..54ef0e3 100644 --- a/platform/gandr/functions/_PDCLIB/_PDCLIB_stdinit.c +++ b/platform/gandr/functions/_PDCLIB/_PDCLIB_stdinit.c @@ -310,10 +310,84 @@ struct _PDCLIB_locale _PDCLIB_global_locale = { }, ._CType = &global_ctype[1], ._ErrnoStr = { - /* no error */ (char *)"", - /* ERANGE */ (char *)"ERANGE (Range error)", - /* EDOM */ (char *)"EDOM (Domain error)", - /* EILSEQ */ (char *)"EILSEQ (Illegal sequence)" + "Success", + "ERANGE (result out of range)", + "EDOM (argument out of domain)", + "EILSEQ (illegal byte sequence)", + "E2BIG (argument list too long)", + "ECONNRESET (connection reset)", + "EISCONN (already connected)", + "ENOENT (no such file or directory)", + "ENOTRECOVERABLE (state not recoverable)", + "EROFS (read only file system)", + "EACCES (permission denied)", + "EDEADLK (resource deadlock would occur)", + "EISDIR (is a directory)", + "ENOEXEC (executable format error)", + "ENOTSOCK (not a socket)", + "ESPIPE (invalid seek)", + "EADDRINUSE (address in use)", + "EDESTADDRREQ (destination address required)", + "ELOOP (too many symbolic link levels)", + "ENOLCK (no lock available)", + "ENOTSUP (not supported)", + "ESRCH (no such process)", + "EADDRNOTAVAIL (address not available)", + "EMFILE (too many files open)", + "ENOLINK (no link)", + "ENOTTY (inappropriate io control operation)", + "ETIME (stream timeout)", + "EAFNOSUPPORT (address family not supported)", + "EEXIST (file exists)", + "EMLINK (too many links)", + "ENOMEM (not enough memory)", + "ENXIO (no such device or address)", + "ETIMEDOUT (timed out)", + "EAGAIN (resource unavailable try again)", + "EFAULT (bad address)", + "EMSGSIZE (message size)", + "ENOMSG (no message)", + "EOPNOTSUPP (operation not supported)", + "ETXTBSY (text file busy)", + "EALREADY (connection already in progress)", + "EFBIG (file too large)", + "ENAMETOOLONG (filename too long)", + "ENOPROTOOPT (no protocol option)", + "EOVERFLOW (value too large)", + "EBADF (bad file descriptor)", + "EHOSTUNREACH (host unreachable)", + "ENETDOWN (network down)", + "ENOSPC (no space on device)", + "EOWNERDEAD (owner dead)", + "EXDEV (cross device link)", + "EBADMSG (bad message)", + "EIDRM (identifier removed)", + "ENETRESET (network reset)", + "ENOSR (no stream resources)", + "EPERM (operation not permitted)", + "EBUSY (device or resource busy)", + "ENETUNREACH (network unreachable)", + "ENOSTR (not a stream)", + "EPIPE (broken pipe)", + "ECANCELED (operation canceled)", + "EINPROGRESS (operation in progress)", + "ENFILE (too many files open in system)", + "ENOSYS (function not supported)", + "EPROTO (protocol error)", + "ECHILD (no child process)", + "EINTR (interrupted)", + "ENOBUFS (no buffer space)", + "ENOTCONN (not connected)", + "EPROTONOSUPPORT (protocol not supported)", + "ECONNABORTED (connection aborted)", + "EINVAL (invalid argument)", + "ENODATA (no message available)", + "ENOTDIR (not a directory)", + "EPROTOTYPE (wrong protocol type)", + "EIO (io error)", + "ECONNREFUSED (connection refused)", + "ENODEV (no such device)", + "ENOTEMPTY (directory not empty)", }, };