#include <cerrno>
#include <csignal>
#include <cstdio>
#include <cstring>
#include <cwchar>
#include <fstream>
#include <cstdlib>
#include <fcntl.h>
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <rw_driver.h>
#include <rw_file.h>
#include <rw_valcmp.h>
Go to the source code of this file.
|
| void | ignore_signal (int) |
| |
| std::size_t | find_char (const char **pbeg, const char *end, const char *const chartbl[], std::size_t tblsize) |
| |
| int | main (int argc, char *argv[]) |
| |
◆ ASSERT_OPEN
| #define ASSERT_OPEN |
( |
|
expr, |
|
|
|
mode, |
|
|
|
txt |
|
) |
| |
Value:
"basic_filebuf<%s>::open (\"%s\", %{Io}) %s ", \
tname, tmpfname,
mode, txt) \
_TEST_EXPORT int rw_assert(int, const char *, int, const char *,...)
◆ BEGIN_MODE
| #define BEGIN_MODE |
( |
|
openmode, |
|
|
|
ext |
|
) |
| |
Value:
_TEST_EXPORT int rw_info(int, const char *, int, const char *,...)
◆ REMOVE_FILE
| #define REMOVE_FILE |
( |
|
tmpfname | ) |
|
Value: rw_warn (0 == std::remove (tmpfname), __FILE__, __LINE__, \
"std::remove(\"%s\") failed: %m", tmpfname)
_TEST_EXPORT int rw_warn(int, const char *, int, const char *,...)
Definition at line 64 of file 27.filebuf.cpp.
◆ SIGPIPE
| #define SIGPIPE 13 /* HP-UX, Linux, and SunOS value */ |
27.filebuf.cpp - test exercising class template basic_filebuf
$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 1994-2008 Rogue Wave Software, Inc.
Definition at line 56 of file 27.filebuf.cpp.
◆ find_char()
| std::size_t find_char |
( |
const char ** |
pbeg, |
|
|
const char * |
end, |
|
|
const char *const |
chartbl[], |
|
|
std::size_t |
tblsize |
|
) |
| |
◆ ignore_signal()
| void ignore_signal |
( |
int |
| ) |
|
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ charnames
| const char* const charnames[] |
|
extern |
◆ escapes
| const char* const escapes[] |
|
extern |
Initial value:= {
"<ESC-CNTRL>", "<ESC-PUNCT>", "<ESC-DIGIT>",
"<ESC-UPPER>", "<ESC-LOWER>", "<ESC-HEXCODE>"
}