www.delorie.com/djgpp/doc/libc-2.01/libc_346.html   search  
Go to the first, previous, next, last section, table of contents.


getrlimit

Syntax

#include <sys/resource.h>

int getrlimit (int rltype, struct rlimit *rlimitp);

Description

This function gets the resource limit specified by rltype and stores it in the buffer pointed to by rlimitp.

Return Value

Zero on success, nonzero on failure.

Example

struct rlimit rlimitbuf;
int rc = getrlimit (RLIMIT_STACK, &rlimitbuf);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997