redirect_t

Contains information where input is being redirected.

Service:Library

Structure

  #include <library.h>
  
  typedef struct
  {
     char   *pathname;
     int     oflag; 
  } redirect_t;
  

Fields

pathname

Points to the path of the file receiving the redirection.

oflag

Specifies the mode of the file. For a list of possible values, see File Control Open Modes in Volume 1.