next up previous contents index
Next: 31 WIMPi Window Manager: Up: 30.5 ``Back door'' Interfaces Previous: 30.5.1 oskit_freebsd_chardev_open: Open a

30.5.2 oskit_freebsd_xlate_errno: Translate a FreeBSD error number

 

SYNOPSIS

#include <oskit/dev/freebsd.h>

oskit_error_t oskit_freebsd_xlate_errno(int freebsd_error);

DIRECTION

OS tex2html_wrap_inline32841 Component

DESCRIPTION

Translates a FreeBSD error number into an OSKit error number.

PARAMETERS

freebsd_error
The FreeBSD error code to be translated.

RETURNS

Returns an equivalent error value from <oskit/dev/error.h>, or OSKIT_E_UNEXPECTED if there is no suitable translation.


University of Utah Flux Research Group