1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" Copyright (C) 1996 Andries Brouwer (aeb@cwi.nl)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" Moved to man3, aeb, 980612
27 .\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
28 .\" Translated Sat 18 Jul 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
29 .\" Modified Sun Dec 18 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
31 .TH ULIMIT 3 2008-08-06 "Linux" "Linux Programmer's Manual"
33 .\"O ulimit \- get and set user limits
35 ulimit \- ユーザー制限を取得・設定する
38 .B #include <ulimit.h>
40 .BI "long ulimit(int " cmd ", long " newlimit );
43 .\"O Warning: This routine is obsolete.
45 .\"O .BR getrlimit (2),
46 .\"O .BR setrlimit (2),
56 .\"O For the shell command
68 .\"O call will get or set some limit for the calling process.
70 は呼び出し元のプロセスに関する制限のいくつかを取得・設定する。
73 .\"O argument can have one of the following values.
75 引き数には、以下の値のうちのどれか一つを与えることができる。
78 .\"O Return the limit on the size of a file, in units of 512 bytes.
79 ファイルサイズに関する制限を返す。単位は 512 バイト。
82 .\"O Set the limit on the size of a file.
86 .\"O (Not implemented for Linux.)
87 .\"O Return the maximum possible address of the data segment.
89 データセグメントで指定できるアドレスの最大値を返す。
92 .\"O (Implemented but no symbolic constant provided.)
93 .\"O Return the maximum number of files that the calling process can open.
94 (実装されているが、対応するシンボリックな定数は存在しない)
95 プロセスがオープンできるファイル数の最大値を返す。
96 .\"O .SH "RETURN VALUE"
100 .\"O returns a nonnegative value.
101 .\"O On error, \-1 is returned, and
103 .\"O is set appropriately.
114 .\"O A unprivileged process tried to increase a limit.
115 非特権プロセスが制限値を増加させようとした。
116 .\"O .SH "CONFORMING TO"
119 .\"O POSIX.1-2008 marks