Could be certificates (file formats, paths, permissions), passwords, and others. When this happens, you should try the call again. The file was the wrong type for the operation, or a data file had the wrong format. However, the manpage isn't mapping out everything that diff might do, but the documentation you can use for using diff command. http://crimsonskysoftware.com/linux-errno/unix-error-22.html
See Asynchronous I/O. Die Liebe höret nimmer auf Why does removing Iceweasel nuke GNOME? Macro: int ENOTSUP Not supported. See Socket Addresses. http://www-numi.fnal.gov/offline_software/srt_public_context/WebDocs/Errors/unix_system_errors.html
bash shell diff exit-code share|improve this question edited Aug 15 '11 at 15:23 Paŭlo Ebermann 48.4k1087150 asked Aug 7 '11 at 7:05 sid_com 7,6441462126 add a comment| 3 Answers 3 active On some systems chmod returns this error if you try to set the sticky bit on a non-directory file; see Setting Permissions. I never knew that. CURLE_COULDNT_RESOLVE_HOST (6) Couldn't resolve host.
ELIBBAD0.384Accessing a corrupted shared lib.80Accessing a corrupted shared library84Accessing a corrupted shared lib. CURLE_FTP_ACCEPT_FAILED (10) While waiting for the server to connect back when an active FTP session is used, an error code was sent over the control connection or similar. Macro: int EEXIST File exists; an existing file was specified in a context where it only makes sense to specify a new file. Errno.h In C C libraries in many older Unix systems have EWOULDBLOCK as a separate error code.
This error is never generated by GNU/Hurd systems, but it can result from an operation to an NFS server running another operating system. Macro: int EOPNOTSUPP The operation you requested is not supported. Is there a developers image of 16.04 LTS? https://curl.haxx.se/libcurl/c/libcurl-errors.html CURLE_REMOTE_FILE_EXISTS (73) File already exists and will not be overwritten.
CURLE_SSL_CACERT (60) Peer certificate cannot be authenticated with known CA certificates. Efault The kernel may have cached some data and not written it to the media yet. Refer to the appropriate documentation. paper out ESHLIBVERS0.187Shared library version mismatch EBADEXEC0.185Bad executable EBADARCH0.186Bad CPU type in executable -0.143Unknown error UNKNOWN0.137Unknown error  AIX ENOTEMPTY is 17 "Directory not empty" if _ALL_SOURCE and !_LINUX_SOURCE_COMPAT  AIX
org≡ Menu Home Free eBook Start Here Contact About 131 Linux Error Codes for C Programming Language using errno by Sasikala on October 18, 2010 Tweet Programmers should http://www.thegeekstuff.com/2010/10/linux-error-codes Bash 101 Hacks eBook Sed and Awk 101 Hacks eBook Vim 101 Hacks eBook Nagios Core 3 eBook Copyright © 2008–2015 Ramesh Natarajan. Posix Error Codes No matter what, using the curl_easy_setopt option CURLOPT_ERRORBUFFER is a good idea as it will give you a human readable error string that may offer more details about the cause of Errno.h Windows Macro: int ECHILD There are no child processes.
Macro: int ENOEXEC Invalid executable file format. navigate here CURLE_NOT_BUILT_IN (4) A requested feature, protocol or option was not found built-in in this libcurl due to a build-time decision. Macro: int ENETDOWN A socket operation failed because the network was down. I never knew these many options are available..or am I lucky to be here!!! :) –TheCottonSilk Mar 1 '11 at 5:32 add a comment| up vote 3 down vote It ultimately Linux Errno To String
Mine (GNU diffutils 3.0) says: An exit status of 0 means no differences were found, 1 means some differences were found, and 2 means trouble. Oct 6 at 14:40 add a comment| up vote 3 down vote In my case diff returned 127, searched for it and find it in the tldp.org "Exit Codes With Special This is serious badness and things are severely screwed up if this ever occurs. Check This Out Macro: int EPROTOTYPE The socket type does not support the requested communications protocol.
CURLE_COULDNT_RESOLVE_PROXY (5) Couldn't resolve proxy. Enotsup On GNU/Hurd systems, this error can happen for many calls when the object does not support the particular operation; it is a generic indication that the server knows nothing to do When following redirects, libcurl hit the maximum amount.
This error code indicates that an unexpected code was returned. To understand the nature of the error these codes need to be interpreted. Find all posts by Corona688
The perror function is infinitely useful when dealing with errno (but sadly renders the point of this huge table mute). If libcurl fails to parse that line, this return code is passed back. Macro: int ENOTSOCK A file that isn’t a socket was specified when a socket is required. this contact form Be careful when using CURLOPT_CUSTOMREQUEST, a custom LIST command will be sent with PRET CMD before PASV as well. (Added in 7.20.0) CURLE_RTSP_CSEQ_ERROR (85) Mismatch of RTSP CSeq numbers.
This happens not only when you use link (see Hard Links) but also when you rename a file with rename (see Renaming Files). It indicates that the shortage is expected to pass, so your program can try the call again later and it may succeed. This article shows all available error numbers along with it descriptions. Number sets symbols in LaTeX How to draw a clock-diagram?
For functions that operate on some object given in a parameter, such as a file descriptor or a port, it might instead mean that only that specific object (file descriptor, port, Macro: int EALREADY An operation is already in progress on an object that has non-blocking mode selected. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Macro: int EROFS An attempt was made to modify something on a read-only file system.
Macro: int ECONNREFUSED A remote host refused to allow the network connection (typically because it is not running the requested service). This often indicates a cycle of symbolic links. The server is flawed.