rfio_fileno(3)

rfio_fileno3

Maps stream pointer to file descriptor

Usage

#include <sys/types.h>
#include "rfio_api.h"

int rfio_fileno (FILE *fp);

Overview

rfio_fileno returns the integer file descriptor associated with the stream pointed to by fp.

Return value

Upon successful completion, rfio_fileno() returns the integer value of the file descriptor associated with the stream parameter. Otherwise, the value -1 is returned and serrno is set appropriately.

Errors

EBADF

fp is not a valid file descriptor.

Releases

Unchanged in 5 releases since Debian 6.0 (Squeeze).

  1. 6.0–10

Author

LCG Grid Deployment Team

From libdpm-dev 1.10.0-2+b3 in Debian 10 (Buster). Parsed by carta from the page's man source.