sourCEntral - mobile manpages

pdf

ulimit

NOMBRE

ulimit - obtiene y modifica los límites del usuario

BIBLIOTECA

Biblioteca Estándar C (libc, -lc)

SINOPSIS

#include <ulimit.h>

[[deprecated]] long ulimit(int cmd, long newlimit);

DESCRIPCIÓN

Warning: this routine is obsolete. Use getrlimit(2), setrlimit(2), and sysconf(3) instead. For the shell command ulimit, see bash(1).

The ulimit() call will get or set some limit for the calling process. The cmd argument can have one of the following values.
UL_GETFSIZE

Devuelve el límite de tamaño de un fichero, en unidades de 512 bytes.

UL_SETFSIZE

Poner el límite de tamaño de un fichero.

3

(No implementado en Linux.) Retorna la dirección máxima posible del segmento de datos.

4

(Implementado pero sin una constante simbólica asociada.) Devuelve el máximo número de ficheros que el proceso puede abrir.

VALOR DEVUELTO

On success, ulimit() returns a nonnegative value. On error, -1 is returned, and errno is set to indicate the error.

ERRORES

EPERM

An unprivileged process tried to increase a limit.

ATRIBUTOS

Para obtener una explicación de los términos usados en esta sección, véase attributes(7).

img

ESTÁNDARES

SVr4, POSIX.1-2001. POSIX.1-2008 marks ulimit() as obsolete.

VÉASE TAMBIÉN

bash(1), getrlimit(2), setrlimit(2), sysconf(3)

TRADUCCIÓN

La traducción al español de esta página del manual fue creada por Juan José López Mellado <laveneno AT hotmail DOT com> y Juan Piernas <piernas AT ditec DOT um DOT es>

Esta traducción es documentación libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD.

Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a debian-l10n-spanish.

pdf