stat.h

来自「Amarok是一款在LINUX或其他类UNIX操作系统中运行的音频播放器软件。 」· C头文件 代码 · 共 68 行

H
68
字号
/* * * This software is released under the provisions of the GPL version 2. * see file "COPYING".  If that file is not available, the full statement  * of the license can be found at * * http://www.fsf.org/licensing/licenses/gpl.txt * * Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved. * */#ifndef HLXSYS_SYS_STAT_H#define HLXSYS_SYS_STAT_H#if !defined(WIN32_PLATFORM_PSPC) && !defined(_OPENWAVE) && !defined(_WINCE)#if defined(_MACINTOSH) && !defined(_MAC_MACHO)#include <stat.h>#else#include <sys/stat.h>#endif#endif /* !defined(WIN32_PLATFORM_PSPC) */#include "hlxclib/sys/types.h"#ifdef __cplusplusextern "C" {#endif /* __cplusplus *//* Helix implementations */int __helix_fstat(int filedes, struct stat *buf);int __helix_stat(const char* pFilename, struct stat *buf);#if defined(WIN32_PLATFORM_PSPC) || defined(_OPENWAVE)#ifdef _OPENWAVE#define S_IFDIR		0x1000	/* specify a directory*/#endif inlineint fstat(int filedes, struct stat *buf){    return __helix_fstat(filedes, buf);}inlineint _stat(const char* pFilename, struct _stat *buf){    return __helix_stat(pFilename, (struct stat *)buf);}inlineint stat(const char* pFilename, struct stat *buf){    return __helix_stat(pFilename, buf);}#endif /* defined(WIN32_PLATFORM_PSPC) */#ifdef __cplusplus}#endif /* __cplusplus */#endif /* HLXSYS_SYS_STAT_H */

⌨️ 快捷键说明

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