OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FMT_POSIX_CALL
(Results
1 - 2
of
2
) sorted by null
/external/fmtlib/fmt/
posix.cc
91
int fd =
FMT_POSIX_CALL
(fileno FMT_ARGS(file_));
101
FMT_POSIX_CALL
(sopen_s(&fd_, path.c_str(), oflag, _SH_DENYNO, mode));
103
FMT_RETRY(fd_,
FMT_POSIX_CALL
(open(path.c_str(), oflag, mode)));
112
if (fd_ != -1 &&
FMT_POSIX_CALL
(close(fd_)) != 0)
121
int result =
FMT_POSIX_CALL
(close(fd_));
145
if (
FMT_POSIX_CALL
(fstat(fd_, &file_stat)) == -1)
155
FMT_RETRY(result,
FMT_POSIX_CALL
(read(fd_, buffer, convert_rwcount(count))));
163
FMT_RETRY(result,
FMT_POSIX_CALL
(write(fd_, buffer, convert_rwcount(count))));
172
int new_fd =
FMT_POSIX_CALL
(dup(fd));
180
FMT_RETRY(result,
FMT_POSIX_CALL
(dup2(fd_, fd)))
[
all
...]
posix.h
43
# define
FMT_POSIX_CALL
(call) FMT_SYSTEM(call)
48
# define
FMT_POSIX_CALL
(call) ::_##call
50
# define
FMT_POSIX_CALL
(call) ::call
Completed in 2975 milliseconds