URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [exec/] [posix/] [include/] [rtems/] [posix/] [seterr.h] - Rev 738
Go to most recent revision | Compare with Previous | Blame | View Log
/* * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.OARcorp.com/rtems/license.html. * * $Id: seterr.h,v 1.2 2001-09-27 11:59:14 chris Exp $ */ #ifndef __POSIX_SET_ERRNO_h #define __POSIX_SET_ERRNO_h #define set_errno_and_return_minus_one( _error ) \ { errno = (_error); return -1; } #define set_errno_and_return_minus_one_cast( _error, _cast ) \ { errno = (_error); return (_cast) -1; } #endif /* end of include file */
Go to most recent revision | Compare with Previous | Blame | View Log