Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Macros | Functions
rw_file.h File Reference
#include <rw_testdefs.h>
Include dependency graph for rw_file.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DEV_CONSOLE   "/dev/console"
 
#define DEV_NULL   "/dev/null"
 
#define DEV_TTY   "/dev/tty"
 
#define SLASH   "\\"
 
#define SHELL_MV   "move /Y "
 
#define SHELL_RM_F   "del /F "
 
#define SHELL_RM_RF   "rmdir /Q /S "
 

Functions

_TEST_EXPORT void pcs_write (void *, const char *)
 
_TEST_EXPORT const char * rw_tmpnam (char *)
 
_TEST_EXPORT void * rw_fread (const char *, _RWSTD_SIZE_T *=0, const char *="r")
 
_TEST_EXPORT _RWSTD_SIZE_T rw_fwrite (const char *, const void *, _RWSTD_SIZE_T=~0, const char *="w")
 
_TEST_EXPORT int rw_nextfd (int *)
 

Macro Definition Documentation

◆ DEV_CONSOLE

#define DEV_CONSOLE   "/dev/console"

file.h - common file I/O definitions

$Id$

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 2004-2006 Rogue Wave Software.

Definition at line 39 of file rw_file.h.

◆ DEV_NULL

#define DEV_NULL   "/dev/null"

Definition at line 40 of file rw_file.h.

◆ DEV_TTY

#define DEV_TTY   "/dev/tty"

Definition at line 41 of file rw_file.h.

◆ SHELL_MV

#define SHELL_MV   "move /Y "

Definition at line 56 of file rw_file.h.

◆ SHELL_RM_F

#define SHELL_RM_F   "del /F "

Definition at line 57 of file rw_file.h.

◆ SHELL_RM_RF

#define SHELL_RM_RF   "rmdir /Q /S "

Definition at line 58 of file rw_file.h.

◆ SLASH

#define SLASH   "\\"

Definition at line 55 of file rw_file.h.

Function Documentation

◆ pcs_write()

_TEST_EXPORT void pcs_write ( void *  fpv,
const char *  str 
)

Definition at line 89 of file file.cpp.

◆ rw_fread()

_TEST_EXPORT void * rw_fread ( const char *  ,
_RWSTD_SIZE_T *  = 0,
const char *  = "r" 
)

◆ rw_fwrite()

_TEST_EXPORT _RWSTD_SIZE_T rw_fwrite ( const char *  ,
const void *  ,
_RWSTD_SIZE_T  = ~0,
const char *  = "w" 
)

◆ rw_nextfd()

_TEST_EXPORT int rw_nextfd ( int *  count)

Definition at line 478 of file file.cpp.

◆ rw_tmpnam()

_TEST_EXPORT const char * rw_tmpnam ( char *  buf)

Definition at line 206 of file file.cpp.