source: rtems/c/src/exec/posix/include/rtems/posix/seterr.h @ 7fc3029

4.104.114.84.95
Last change on this file since 7fc3029 was fa03f08, checked in by Joel Sherrill <joel.sherrill@…>, on 06/07/96 at 15:20:55

new file

  • Property mode set to 100644
File size: 580 bytes
Line 
1/*
2 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
3 *  On-Line Applications Research Corporation (OAR).
4 *  All rights assigned to U.S. Government, 1994.
5 *
6 *  This material may be reproduced by or for the U.S. Government pursuant
7 *  to the copyright license under the clause at DFARS 252.227-7013.  This
8 *  notice must appear in all copies of this file and its derivatives.
9 *
10 *  $Id$
11 */
12 
13#ifndef __POSIX_SET_ERRNO_h
14#define __POSIX_SET_ERRNO_h
15 
16#define set_errno_and_return_minus_one( _error ) \
17  { errno = (_error); return -1; }
18
19#endif
20/* end of include file */
Note: See TracBrowser for help on using the repository browser.