分享一下本人收集的嵌入式开发资料,希望对同行有所帮助。
System errno:
Whenever system calls error, there is global variable “errno” to indicate
what error happened.
|Value|Name |Description |
|1 |EPERM |Operation not permitted |
|2 |ENOENT |No such file or directory |
|3 |ESRCH |No such process |
|4 |EINTR |Interrupted system call |
|5 |EIO |I/O error |
|6 |ENXIO |No such device or address |
|7 |E2BIG |Argument list too long |
|8 |ENOEXEC |Exec format error |
|9 |EBADF |Bad file number |
|10 |ECHILD ……