ux.hpp
来自「高级unix编程第二版」· HPP 代码 · 共 71 行
HPP
71 行
/* Copyright 2003 by Marc J. Rochkind. All rights reserved. May be copied only for purposes and under conditions described on the Web page www.basepath.com/aup/copyright.htm. The Example Files are provided "as is," without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. The author and his publisher are not responsible for any damages, direct or incidental, resulting from the use or non-use of these Example Files. The Example Files may contain defects, and some contain deliberate coding mistakes that were included for educational reasons. You are responsible for determining if and how the Example Files are to be used.*/#ifndef _UX_HPP_#define _UX_HPP_#include "defs.h"#include <iostream.h>/** \ingroup Ux*/namespace Ux {/** \ingroup Ux*/class Base {};} // namespace/* Following for statvfs functions */#if _XOPEN_SOURCE >= 4#include <sys/statvfs.h>#define STATVFS_NAME statvfs#define FSTATVFS_NAME fstatvfs#define STATVFS 1#elif defined(FREEBSD)#include <sys/param.h>#include <sys/mount.h>#define STATVFS_NAME statfs#define FSTATVFS_NAME fstatfs#else#error "Need statvfs or nonstandard substitute"#endif#include "uxaio.hpp"#include "uxdir.hpp"#include "uxdirstream.hpp"#include "uxerr.hpp"#include "uxexitstatus.hpp"#include "uxfile.hpp"#include "uxnetdb.hpp"#include "uxposixipc.hpp"#include "uxprocess.hpp"#include "uxsigset.hpp"#include "uxsocket.hpp"#include "uxsystem.hpp"#include "uxsysvipc.hpp"#include "uxterminal.hpp"#include "uxtime.hpp"#include "uxtimetm.hpp"#endif // _UX_HPP_
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?