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


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

not ANSI, not POSIX


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