|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <rw_file.h>#include <fcntl.h>#include <sys/stat.h>#include <langinfo.h>#include <unistd.h>#include <assert.h>#include <errno.h>#include <locale.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <wchar.h>
Go to the source code of this file.
Macros | |
| #define | _RWSTD_TEST_SRC |
| #define | PATH_MAX 1024 |
| #define | P_tmpdir "/tmp/" |
| #define | TMP_TEMPLATE "tmpfile-XXXXXX" |
Functions | |
| int | mkstemp (char *) |
| _TEST_EXPORT void | pcs_write (void *fpv, const char *str) |
| _TEST_EXPORT const char * | rw_tmpnam (char *buf) |
| _TEST_EXPORT size_t | rw_fsize (const char *fname) |
| _TEST_EXPORT void * | rw_fread (const char *fname, size_t *size, const char *mode) |
| _TEST_EXPORT size_t | rw_fwrite (const char *fname, const void *buf, size_t size, const char *mode) |
| _TEST_EXPORT int | rw_nextfd (int *count) |
| #define _RWSTD_TEST_SRC |
file.cpp - definitions of testsuite file I/O helpers
$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-2007 Rogue Wave Software, Inc.
| #define TMP_TEMPLATE "tmpfile-XXXXXX" |
| int mkstemp | ( | char * | ) |
| _TEST_EXPORT void pcs_write | ( | void * | fpv, |
| const char * | str | ||
| ) |
| _TEST_EXPORT void * rw_fread | ( | const char * | fname, |
| size_t * | size, | ||
| const char * | mode | ||
| ) |
| _TEST_EXPORT size_t rw_fsize | ( | const char * | fname | ) |
| _TEST_EXPORT size_t rw_fwrite | ( | const char * | fname, |
| const void * | buf, | ||
| size_t | size, | ||
| const char * | mode | ||
| ) |
| _TEST_EXPORT int rw_nextfd | ( | int * | count | ) |
| _TEST_EXPORT const char * rw_tmpnam | ( | char * | buf | ) |