Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

clearerr(3)

feof(3)

ferror(3)

fopen(3)

open(2)

fileno(3)  —  Subroutines

OSF

NAME

fileno − Maps stream pointer to file descriptor

LIBRARY

Standard I/O Package (libc.a)

SYNOPSIS

#include <stdio.h>

int fileno (
    FILE ∗stream );

PARAMETERS

streamSpecifies the input stream. 

DESCRIPTION

The fileno() macro returns the file descriptor of a stream. 

NOTES

AES Support Level:
Full use

RETURN VALUES

The fileno() macro returns the file descriptor associated with the stream parameter. 

RELATED INFORMATION

Functions: clearerr(3), feof(3), ferror(3), fopen(3), open(2)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026