resource.h
来自「cfront是最开始c++语言到C语言的转换工具」· C头文件 代码 · 共 57 行
H
57 行
/*ident "@(#)cls4:incl-master/proto-headers/sys/resource.h 1.1" */#usedby bsd2 bsd3 sunos3 sunos4 sunos4.1 alliant svr4/******************************************************************************* C++ source for the C++ Language System, Release 3.0. This productis a new release of the original cfront developed in the computerscience research center of AT&T Bell Laboratories.Copyright (c) 1991 AT&T and UNIX System Laboratories, Inc.Copyright (c) 1984, 1989, 1990 AT&T. All Rights Reserved.THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE of AT&T and UNIX SystemLaboratories, Inc. The copyright notice above does not evidenceany actual or intended publication of such source code.*******************************************************************************/#ifndef __RESOURCE_H#define __RESOURCE_H#os bsd2 bsd3 sunos3 sunos4 sunos4.1 alliant#ifndef __SYS_TIME_H#include <sys/time.h>#endif#hide getpriority#hide setpriority#hide getrlimit#hide setrlimit#hide getrusage#endos#os svr4#hide getrlimit#hide setrlimit#hide rlimit#endos#expand sys/resource.hextern "C" {#os bsd2 bsd3 sunos3 sunos4 sunos4.1 alliant int getpriority(int which, int who); int setpriority(int which, int who, int prio); int getrlimit(int resource, rlimit* rlp); int setrlimit(int resource, const rlimit* rlp); int getrusage(int, rusage*);#endos#os svr4 int rlimit(int, rlim_t, rlim_t); int getrlimit(int, struct rlimit*); int setrlimit(int, const struct rlimit*);#endos}#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?