If you want to use errno at c program, you must include errno.h not declare "extern int errno".
char *strerror(int) is used to display error text.
There are two related header files at kernel source directory:
include/$(ARCH)/errno.h
asm-generic/errno-base.h
Tuesday, October 14, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment