Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 130819 - gcc 3.[45] with -std=c99, fileno() not declared in stdio.h
gcc 3.[45] with -std=c99, fileno() not declared in stdio.h
Status: CLOSED DUPLICATE of bug 130815
Product: Fedora
Classification: Fedora
Component: glibc (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-08-24 17:59 EDT by John Ellson
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 14:05:15 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description John Ellson 2004-08-24 17:59:24 EDT
Description of problem:
fileno() not declared in stdio.h contrary to man 3 fileno

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:

ellson@ontap:~> cat bug.c
#include <stdio.h>
int main() {
        return (fileno(stdin));
ellson@ontap:~>  gcc35 -std=c99 bug.c
bug.c: In function `main':
bug.c:3: warning: implicit declaration of function 'fileno'

Actual results:
warning about implicit declaration

Expected results:
no warning

Additional info:
Comment 1 Jakub Jelinek 2004-08-30 02:34:46 EDT
fileno is POSIX, but not ISO C function.

*** This bug has been marked as a duplicate of 130815 ***
Comment 2 Red Hat Bugzilla 2006-02-21 14:05:15 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.