Changeset 5366:0a996dfcef03 in roaraudio


Ignore:
Timestamp:
12/19/11 19:44:22 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added some aliases to used O_*-consts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio.h

    r5289 r5366  
    3838 
    3939#include "libroar.h" 
     40 
     41// some defines: 
     42#define ROAR_VIOF_EXEC      O_EXEC 
     43#define ROAR_VIOF_READ      O_RDONLY 
     44#define ROAR_VIOF_WRITE     O_WRONLY 
     45#define ROAR_VIOF_READWRITE O_RDWR 
     46#define ROAR_VIOF_SEARCH    O_SEARCH 
     47#define ROAR_VIOF_LISTEN    (-"") /* compiler error as long as there is no O_LISTEN */ 
     48 
     49#define ROAR_VIOF_CREAT     O_CREAT 
     50#define ROAR_VIOF_TRUNC     O_TRUNC 
     51#define ROAR_VIOF_NONBLOCK  O_NONBLOCK 
    4052 
    4153struct roar_connection; 
Note: See TracChangeset for help on using the changeset viewer.