Spec-Zone.ru › Linux man pages

procio(3) — Справочная страница Linux

PROCIO(3)               Linux Programmer's Manual              PROCIO(3)

ИМЯ

       fprocopen - stream open functions on files below /proc/##

СИНТАКСИС

       #define _GNU_SOURCE
       #include <stdio.h>
       #include <proc/procio.h>

       FILE *fprocopen(const char *path, const char *mode);

ОПИСАНИЕ

       The fprocopen function opens files below /proc/## whose name is
       the string to by path and associates a stream with it.  The
       argument mode points to a string containing one of the following
       sequences

       r      Open a file below /proc/## for reading even large buffers.
              The stream is positioned at the beginning of the file.

       w[<del>]
              Open a file below /proc/## for writing even large buffers.
              The optional delimiter character can be one of the
              follwoing ' ', ',', '.', and ':' where the default is the
              comma ','.  This allows to split very large input lines
              into pieces at this delimiter and write each of them to
              the opened file below /proc/##.

       e      The underlying file descriptor will be closed if you use
              any of the ‘exec...’ functions within your code.

       The internal API allows the use of stdio functions to read and
       write large buffers below /proc/##.

СМОТРИ ТАКЖЕ

       fopen(3),
       fopencookie(3)
       setvbuf(3)
       lseek(3)

АВТОРСКИЕ ПРАВА

       2018 Werner Fink,

АВТОР

       Werner Fink <werner@suse.de>

КОЛОФОН

       This page is part of the procps-ng (/proc filesystem utilities)
       project.  Information about the project can be found at 
       ⟨https://gitlab.com/procps-ng/procps⟩.  If you have a bug report
       for this manual page, see
       ⟨https://gitlab.com/procps-ng/procps/blob/master/Documentation/bugs.md⟩.
       This page was obtained from the project's upstream Git repository
       ⟨https://gitlab.com/procps-ng/procps.git⟩ on 2024-06-14.  (At
       that time, the date of the most recent commit that was found in
       the repository was 2024-06-04.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

Linux Manpage                16 January 2018                   PROCIO(3)

...
https://man7.org/linux/man-pages/man3/fprocopen.3.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API