18#ifndef _DECAF_IO_FILEDESCRIPTOR_H_
19#define _DECAF_IO_FILEDESCRIPTOR_H_
This class servers as an opaque wrapper around an underlying OS level resource that can be used as a ...
Definition: FileDescriptor.h:32
static FileDescriptor in
A handle to the standard input stream.
Definition: FileDescriptor.h:39
long descriptor
Definition: FileDescriptor.h:55
FileDescriptor(long value, bool readonly)
static FileDescriptor err
A handle to the standard error stream.
Definition: FileDescriptor.h:51
static FileDescriptor out
A handle to the standard output stream.
Definition: FileDescriptor.h:45
bool valid()
Indicates whether the File Descriptor is valid.
virtual ~FileDescriptor()
bool readonly
Definition: FileDescriptor.h:56
void sync()
Force any/all buffered data for this FileDescriptor to be flushed to the underlying device.
#define DECAF_API
Definition: Config.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: AprPool.h:25