OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nullfd
(Results
1 - 3
of
3
) sorted by null
/external/dropbear/
scpmisc.c
231
int
nullfd
, dupfd;
local
233
if ((
nullfd
= dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
241
if (dup2(
nullfd
, dupfd) == -1) {
246
if (
nullfd
> 2)
247
close(
nullfd
);
/external/dnsmasq/src/
dnsmasq.c
286
int
nullfd
;
local
356
nullfd
= open("/dev/null", O_RDWR);
357
dup2(
nullfd
, STDOUT_FILENO);
358
dup2(
nullfd
, STDERR_FILENO);
359
dup2(
nullfd
, STDIN_FILENO);
360
close(
nullfd
);
[
all
...]
/external/openssh/
misc.c
720
int
nullfd
, dupfd;
local
722
if ((
nullfd
= dupfd = open(_PATH_DEVNULL, O_RDWR)) == -1) {
731
if (dup2(
nullfd
, dupfd) == -1) {
736
if (
nullfd
> 2)
737
close(
nullfd
);
Completed in 8238 milliseconds