Searched refs:devnull (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/
H A Dtest-udev.c70 int devnull; local
79 devnull = open("/dev/null", O_RDWR);
80 if (devnull >= 0) {
81 if (devnull != STDIN_FILENO)
82 dup2(devnull, STDIN_FILENO);
83 if (devnull != STDOUT_FILENO)
84 dup2(devnull, STDOUT_FILENO);
85 if (devnull != STDERR_FILENO)
86 dup2(devnull, STDERR_FILENO);
87 if (devnull > STDERR_FILEN
[all...]
H A Dudev_utils_run.c82 int devnull; local
142 devnull = open("/dev/null", O_RDWR);
143 if (devnull > 0) {
144 dup2(devnull, STDIN_FILENO);
146 dup2(devnull, STDOUT_FILENO);
148 dup2(devnull, STDERR_FILENO);
149 close(devnull);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bftpd-1.6.6/
H A Dmain.h18 extern FILE *passwdfile, *groupfile, *devnull;
H A Dmain.c163 FILE *passwdfile = NULL, *groupfile = NULL, *devnull; variable
706 //devnull = fopen ("/dev/null", "w");
707 devnull = fopen ("/dev/console", "w");
H A Dcommands.c1298 stderr = devnull;
1322 stderr = devnull;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/selinux/
H A Dhooks.c1736 struct file *file, *devnull = NULL; local
1800 if (devnull) {
1801 get_file(devnull);
1803 devnull = dentry_open(dget(selinux_null), mntget(selinuxfs_mount), O_RDWR);
1804 if (IS_ERR(devnull)) {
1805 devnull = NULL;
1811 fd_install(fd, devnull);

Completed in 88 milliseconds