Date: Fri, 5 Feb 1999 18:18:29 -0600 (CST) From: Vinaychandra - Shankarkumar <v0s5080@cs.tamu.edu> To: questions@FreeBSD.ORG Cc: vinays@tamu.edu Subject: getrlimit call ... Message-ID: <199902060018.SAA11680@bach.cs.tamu.edu>
next in thread | raw e-mail | index | archive | help
reply to: vinays@tamu.edu
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 947
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.
thanks,
Vinay.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Home : 3902 College Main, Country Place apt #501, Bryan, TX 77801
Work : #514A, H R Bright Building, Texas A&M, College Station, TX 77843
Phone : Home : (409)-846-2517 Work : (409)-845-5007
Email : vinays@tamu.edu Web URL : http://www.cs.tamu.edu/people/v0s5080
_____________________________________________________________________________
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?199902060018.SAA11680>
