ulimit.3 (108040) | ulimit.3 (108087) |
---|---|
1.\" Copyright (c) 2002 Kyle Martin. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" SUCH DAMAGE. 23.\" | 1.\" Copyright (c) 2002 Kyle Martin. All rights reserved. 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright --- 7 unchanged lines hidden (view full) --- 16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" SUCH DAMAGE. 23.\" |
24.\" $FreeBSD: head/lib/libc/gen/ulimit.3 108040 2002-12-18 13:33:04Z ru $ | 24.\" $FreeBSD: head/lib/libc/gen/ulimit.3 108087 2002-12-19 09:40:28Z ru $ |
25.\" 26.Dd August 8, 2002 27.Dt ULIMIT 3 28.Os 29.Sh NAME 30.Nm ulimit 31.Nd get and set process limits 32.Sh LIBRARY --- 4 unchanged lines hidden (view full) --- 37.Fn ulimit "int cmd" "..." 38.Sh DESCRIPTION 39The 40.Fn ulimit 41function will get and set process limits. 42Currently this is limited to the maximum file size. 43The 44.Fa cmd | 25.\" 26.Dd August 8, 2002 27.Dt ULIMIT 3 28.Os 29.Sh NAME 30.Nm ulimit 31.Nd get and set process limits 32.Sh LIBRARY --- 4 unchanged lines hidden (view full) --- 37.Fn ulimit "int cmd" "..." 38.Sh DESCRIPTION 39The 40.Fn ulimit 41function will get and set process limits. 42Currently this is limited to the maximum file size. 43The 44.Fa cmd |
45parameter is one of the following: | 45argument is one of the following: |
46.Bl -tag -width ".Dv UL_GETSIZE" 47.It Dv UL_GETSIZE 48will return the maximum file size in units of 512 blocks of 49the current process. 50.It Dv UL_SETSIZE 51will attempt to set the maximum file size of the current 52process and its children with the second argument expressed as a long. 53.El --- 45 unchanged lines hidden --- | 46.Bl -tag -width ".Dv UL_GETSIZE" 47.It Dv UL_GETSIZE 48will return the maximum file size in units of 512 blocks of 49the current process. 50.It Dv UL_SETSIZE 51will attempt to set the maximum file size of the current 52process and its children with the second argument expressed as a long. 53.El --- 45 unchanged lines hidden --- |