seterr.h

来自「RTEMS (Real-Time Executive for Multiproc」· C头文件 代码 · 共 23 行

H
23
字号
/* *  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.rtems.com/license/LICENSE. * *  $Id: seterr.h,v 1.2.2.1 2003/09/04 18:55:05 joel Exp $ */ #ifndef __RTEMS_SET_ERRNO_h#define __RTEMS_SET_ERRNO_h #define rtems_set_errno_and_return_minus_one( _error ) \  do { errno = (_error); return -1; } while(0)#define rtems_set_errno_and_return_minus_one_cast( _error, _cast ) \  do { errno = (_error); return (_cast) -1; } while(0)#endif/* end of include file */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?