RTEMS CPU Kit with SuperCore  4.11.3
Functions
libio.c File Reference

File Descriptor Routines. More...

#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <rtems.h>
#include <rtems/libio_.h>
#include <rtems/assoc.h>
Include dependency graph for libio.c:

Functions

uint32_t rtems_libio_fcntl_flags (int fcntl_flags)
 Convert UNIX fnctl(2) flags to ones that RTEMS drivers understand.
 
int rtems_libio_to_fcntl_flags (uint32_t flags)
 Convert RTEMS internal flags to UNIX fnctl(2) flags.
 
rtems_libio_trtems_libio_allocate (void)
 This routine searches the IOP Table for an unused entry. More...
 
void rtems_libio_free (rtems_libio_t *iop)
 This routine frees the resources associated with an IOP (file descriptor) and clears the slot in the IOP Table.
 

Detailed Description

File Descriptor Routines.