www.delorie.com/djgpp/doc/libc/libc_710.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

setrlimit

Syntax

 
#include <sys/resource.h>

int setrlimit (int rltype, const struct rlimit *rlimitp);

Description

This function sets new limit pointed to by rlimitp on the resource limit specified by rltype. Note that currently it always fails.

Return Value

Zero on success, nonzero on failure.

Portability

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004