.\" -*- coding: UTF-8 -*- .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\" Modified 2002-04-15 by Roger Luethi and aeb .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH GETDTABLESIZE 3 "9. Juni 2020" Linux Linux\-Programmierhandbuch .SH BEZEICHNUNG getdtablesize \- Größe der Dateideskriptor\-Tabelle ermitteln .SH ÜBERSICHT \fB#include \fP .PP \fBint getdtablesize(void);\fP .PP .RS -4 Mit Glibc erforderliche Makros (siehe \fBfeature_test_macros\fP(7)): .RE .PP \fBgetdtablesize\fP(): .ad l .RS 4 .PD 0 .TP 4 Seit Glibc 2.12: .nf /* Glibc seit 2.19: */ _DEFAULT_SOURCE || /* Glibc\-Versionen <= 2.19: */ _BSD_SOURCE || ! (_POSIX_C_SOURCE\ >=\ 200112L) .fi .TP 4 Vor Glibc 2.12: .\" || _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 .PD .RE .ad b .SH BESCHREIBUNG \fBgetdtablesize\fP() liefert die maximale Anzahl von Dateien, die ein Prozess offen halten darf. Sie ist um eins größer als der größte mögliche Wert für einen Dateideskriptor. .SH RÜCKGABEWERT Die aktuelle Systembeschränkung für die Anzahl geöffneter Dateien pro Prozess. .SH FEHLER Unter Linux kann \fBgetdtablesize\fP() jeden der für \fBgetrlimit\fP(2) beschriebenen Fehler zurückgeben; siehe die folgenden ANMERKUNGEN. .SH ATTRIBUTE Siehe \fBattributes\fP(7) für eine Erläuterung der in diesem Abschnitt verwandten Ausdrücke. .TS allbox; lb lb lb l l l. Schnittstelle Attribut Wert T{ \fBgetdtablesize\fP() T} Multithread\-Fähigkeit MT\-Safe .TE .SH "KONFORM ZU" SVr4, 4.4BSD (die Funktion \fBgetdtablesize\fP() kam erstmals in 4.2BSD vor). Sie wird nicht in POSIX.1 beschrieben; portable Anwendungen sollten anstelle dieses Systemaufrufs \fIsysconf(_SC_OPEN_MAX)\fP verwenden. .SH ANMERKUNGEN .\" The libc4 and libc5 versions return .\" .B OPEN_MAX .\" (set to 256 since Linux 0.98.4). Die Glibc\-Version von \fBgetdtablesize\fP() ruft \fBgetrlimit\fP(2) auf und gibt den aktuellen Wert von \fBRLIMIT_NOFILE\fP zurück oder \fBOPEN_MAX\fP, wenn der Aufruf fehlschlägt. .SH "SIEHE AUCH" \fBclose\fP(2), \fBdup\fP(2), \fBgetrlimit\fP(2), \fBopen\fP(2) .SH KOLOPHON Diese Seite ist Teil der Veröffentlichung 5.10 des Projekts Linux\-\fIman\-pages\fP. Eine Beschreibung des Projekts, Informationen, wie Fehler gemeldet werden können sowie die aktuelle Version dieser Seite finden sich unter \%https://www.kernel.org/doc/man\-pages/. .SH ÜBERSETZUNG Die deutsche Übersetzung dieser Handbuchseite wurde von René Tschirley , Helge Kreutzmann , Martin Eberhard Schauer und Mario Blättermann erstellt. Diese Übersetzung ist Freie Dokumentation; lesen Sie die .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE oder neuer bezüglich der Copyright-Bedingungen. Es wird KEINE HAFTUNG übernommen. Wenn Sie Fehler in der Übersetzung dieser Handbuchseite finden, schicken Sie bitte eine E-Mail an die .MT debian-l10n-german@\:lists.\:debian.\:org Mailingliste der Übersetzer .ME .