next up previous contents index
Next: 18.7 Client Operating System Up: 18 FreeBSD C Library: Previous: 18.5 Missing Functionality

18.6 errno.h

The symbolic constants defined in errno.h have been redefined with the corresponding symbols defined in oskit/error.h (see 4.6.2), which are the error codes used through the OSKit's COM interfaces; this way, error codes from arbitrary OSKit components can be used directly as errno values at least by programs that use the FreeBSD C library. The main disadvantage of using COM error codes as errno values is that, since they don't start from around 0 like typical Unix errno values, it's impossible to provide a traditional Unix-style sys_errlist table for them. However, they are fully compatible with the strerror and perror routines.



Utah Flux Research Group