Changeset a68f737 in mainline for uspace/lib/libc/include/stdio.h


Ignore:
Timestamp:
2009-06-08T12:34:38Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d9c8c81
Parents:
f8ef660
Message:

keep a list of open files to support proper cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/stdio.h

    rf8ef660 ra68f737  
    3838#include <sys/types.h>
    3939#include <stdarg.h>
     40#include <libadt/list.h>
    4041
    4142#define EOF  (-1)
     
    5657
    5758typedef struct {
     59        /** Linked list pointer. */
     60        link_t link;
     61       
    5862        /** Underlying file descriptor. */
    5963        int fd;
     
    7175        int phone;
    7276} FILE;
    73 
    74 extern FILE stdin_null;
    75 extern FILE stdout_klog;
    7677
    7778extern FILE *stdin;
Note: See TracChangeset for help on using the changeset viewer.