.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Modified 2002-04-15 by Roger Luethi and aeb .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH getdtablesize 3 "5 février 2023" "Pages du manuel de Linux 6.03" .SH NOM getdtablesize \- get file descriptor table size .SH BIBLIOTHÈQUE Bibliothèque C standard (\fIlibc\fP, \fI\-lc\fP) .SH SYNOPSIS .nf \fB#include \fP .PP \fBint getdtablesize(void);\fP .fi .PP .RS -4 Exigences de macros de test de fonctionnalités pour la glibc (consulter \fBfeature_test_macros\fP(7))\ : .RE .PP \fBgetdtablesize\fP()\ : .nf .\" || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED Depuis la glibc 2.20\ : _DEFAULT_SOURCE || ! (_POSIX_C_SOURCE >= 200112L) De la glibc 2.12 à la glibc 2.19 : _BSD_SOURCE || ! (_POSIX_C_SOURCE >= 200112L) Avant la glibc 2.12\ : _BSD_SOURCE || _XOPEN_SOURCE >= 500 .fi .SH DESCRIPTION \fBgetdtablesize\fP() retourne le nombre maximal de fichiers qu'un processus puisse ouvrir simultanément, soit un de plus que la plus grande valeur possible pour un descripteur de fichier. .SH "VALEUR RENVOYÉE" La limite actuelle du nombre de fichiers ouverts par processus. .SH ERREURS Sous Linux, \fBgetdtablesize\fP() peut renvoyer toutes les erreurs décrites pour \fBgetrlimit\fP(2)\ ; consultez les NOTES ci\(hydessous. .SH ATTRIBUTS Pour une explication des termes utilisés dans cette section, consulter \fBattributes\fP(7). .ad l .nh .TS allbox; lbx lb lb l l l. Interface Attribut Valeur T{ \fBgetdtablesize\fP() T} Sécurité des threads MT\-Safe .TE .hy .ad .sp 1 .SH STANDARDS SVr4, 4.4BSD (the \fBgetdtablesize\fP() function first appeared in 4.2BSD). It is not specified in POSIX.1; portable applications should employ \fIsysconf(_SC_OPEN_MAX)\fP instead of this call. .SH NOTES .\" The libc4 and libc5 versions return .\" .B OPEN_MAX .\" (set to 256 since Linux 0.98.4). The glibc version of \fBgetdtablesize\fP() calls \fBgetrlimit\fP(2) and returns the current \fBRLIMIT_NOFILE\fP limit, or \fBOPEN_MAX\fP when that fails. .SH "VOIR AUSSI" \fBclose\fP(2), \fBdup\fP(2), \fBgetrlimit\fP(2), \fBopen\fP(2) .PP .SH TRADUCTION La traduction française de cette page de manuel a été créée par Christophe Blaess , Stéphan Rafin , Thierry Vignaud , François Micaux, Alain Portal , Jean-Philippe Guérard , Jean-Luc Coulon (f5ibh) , Julien Cristau , Thomas Huriaux , Nicolas François , Florentin Duneau , Simon Paillard , Denis Barbier et David Prévot . .PP Cette traduction est une documentation libre ; veuillez vous reporter à la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 .UE concernant les conditions de copie et de distribution. Il n'y a aucune RESPONSABILITÉ LÉGALE. .PP Si vous découvrez un bogue dans la traduction de cette page de manuel, veuillez envoyer un message à .MT debian-l10n-french@lists.debian.org .ME .