setrlimit

K

Kevin

How do I use this function with the resource RLIMIT_DATA?

I set the rlimit structure field definitions, call setrlimit, and then
allocate memory which is larger than the limit. Is this the correct
implementation?

Thanks
 
C

Christopher Benson-Manica

Kevin said:
How do I use this function with the resource RLIMIT_DATA?
I set the rlimit structure field definitions, call setrlimit, and then
allocate memory which is larger than the limit. Is this the correct
implementation?

(The folks on comp.unix.programmer probably know.)

Your post is off-topic for comp.lang.c. Please visit

http://www.ungerhu.com/jxh/clc.welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

for posting guidelines and frequently asked questions. Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,170
Messages
2,570,925
Members
47,464
Latest member
Bobbylenly

Latest Threads

Top