NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
IOStream.h File Reference

Detailed Description

NVIDIA DriveWorks API: IO Streams

Description: This file defines objects that wrap file and memory streams.

Definition in file IOStream.h.

Go to the source code of this file.

Typedefs

typedef enum dwIOStreamFlags dwIOStreamFlags
 Enumerated type for IO Stream flags. More...
 
typedef struct dwIOStreamObject * dwIOStreamHandle_t
 Stream handle. More...
 

Enumerations

enum  dwIOStreamFlags {
  DW_IOSTREAM_READ = 1 << 0,
  DW_IOSTREAM_WRITE = 1 << 1,
  DW_IOSTREAM_APPEND = 1 << 2,
  DW_IOSTREAM_FORCE_BUFFERED = 1 << 3
}
 Enumerated type for IO Stream flags. More...
 

Functions

DW_API_PUBLIC dwStatus dwIOStream_openFile (dwIOStreamHandle_t *stream, const char8_t *path, uint64_t flags, dwContextHandle_t context)
 Open a file stream with the given path and read / write parameters. More...
 
DW_API_PUBLIC dwStatus dwIOStream_wrapFileDescriptor (dwIOStreamHandle_t *stream, int posixFd)
 Adopt a currently open POSIX file descriptor. More...
 
DW_API_PUBLIC dwStatus dwIOStream_close (dwIOStreamHandle_t stream)
 Close a file stream that was opened with dwIOStream_openFile. More...