Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 1999 19:35:29 -0600
From:      Nathan Ahlstrom <nrahlstr@winternet.com>
To:        Vinaychandra - Shankarkumar <v0s5080@cs.tamu.edu>, questions@FreeBSD.ORG
Cc:        vinays@tamu.edu
Subject:   Re: getrlimit call ...
Message-ID:  <19990205193529.A12670@winternet.com>
In-Reply-To: <199902060018.SAA11680@bach.cs.tamu.edu>; from Vinaychandra - Shankarkumar on Fri, Feb 05, 1999 at 06:18:29PM -0600
References:  <199902060018.SAA11680@bach.cs.tamu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

> Hello, 
>       I am using Free BSD  2.1.5-RELEASE and finding that the call 
> getrlimit() is behaving weirdly. it returns a value of 0, which means 
> success. But the value returned in the second parameter 
> rlp->rlim_cur, is -1 !! 
> 
>       The parameters passed are : 
>         first parameter is RLIMIT_NOFILE, 
>         second parameter is a pointer to the struct rlimit. 
> 
>       Is there any file which has to be modified to get the correct value? 
> Or any information regarding this call will be useful. 

That means the limit is infinite.

-- 

Nathan Ahlstrom
nrahlstr@winternet.com
http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990205193529.A12670>