seterr.h

来自「AMLOGIC DPF source code」· C头文件 代码 · 共 33 行

H
33
字号
/*******************************************************************
 * 
 *  Copyright C 2005 by Amlogic, Inc. All Rights Reserved.
 *
 *  Description: 
 *
 *  Author: Amlogic Software
 *  Created: Fri Nov 11 01:05:25 2005
 *
 *******************************************************************/
/*
 *  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.avfs.com/license/LICENSE.
 *
 *  seterr.h,v 1.2.2.1 2003/09/04 18:55:05 joel Exp
 */
 
#ifndef __AVFS_SET_ERRNO_h
#define __AVFS_SET_ERRNO_h
 
#define avfs_set_errno_and_return_minus_one( _error ) \
  do { errno = (_error); return -1; } while(0)

#define avfs_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 + -
显示快捷键?