errno.00 is:success errno.01 is:operation not permitted errno.02 is:no such file or directory errno.03 is:no such proc ESS errno.04 is:interrupted system call errno.05 is:input/output error errno.06 is:no such device or address errno.07 I
S:argument
The most recent user's database has the following error: IoctlASYNC_CONFIGerror, errno11 environment is as follows: HP-UX11.31, ORACLE10.2.0.5.7 metali
The most recent user's database has the following error: Ioctl ASYNC_CONFIG error, errno = 11
errno is thread-safe under Linux 2011-06-20 11:34:54
Category: Linux in Linux or UNIX environments, errno is a very important part. When there is a problem with the called function, we can determine the cause of the error by errno value, which
In Linux or UNIX environments, errno is a very important part. When the called function encounters a problem, we can use the errno value to determine the cause of the Error. This will involve a problem, that is, how to ensure the security of errno
The code is as follows
Copy Code
[root@rhel64-a redhat60as_26x86_64]# Service CVFs start Initiating start of StorNext DSM component Checking Maintenance License ...-The maintenance license status Is:good [OK] Initializing StorNext
Errno is in defined in, the macro of the error Exx is defined in the errno-base.h and errno under the/usr/include/asm-generic folder. h. Definitions of errors 1-34 and 35-132 are defined respectively.
The strerror () function returns the error
/usr/include/asm-generic/errno-base.h
/usr/include/asm-generic/errno.h
You can obtain an error description using the following procedure:
Strerror (errno): Get errno corresponding error
/**************************** Get error code description ****
Errno. H --
Query
Checking the error code errno is an important way to debug the program. When the linuc c api function is abnormal, The errno variable (including
Errno. h) assign an integer. Different values indicate different meanings. You can
The strerror () function returns the error description String Based on the errno value. The following program prints the comparison table:
Code highlighting produced by Actipro CodeHighlighter (freeware)Http://www.CodeHighlighter.com/
-> 01. #
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.