Searched refs:fd2 (Results 1 - 15 of 15) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dcopyfd.c70 off_t bb_copyfd_size(int fd1, int fd2, off_t size) argument
73 return bb_full_fd_action(fd1, fd2, size);
78 void bb_copyfd_exact_size(int fd1, int fd2, off_t size) argument
80 off_t sz = bb_copyfd_size(fd1, fd2, size);
89 off_t bb_copyfd_eof(int fd1, int fd2) argument
91 return bb_full_fd_action(fd1, fd2, 0);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/testsuite/libsmbclient/src/rename/
H A Drename_7.c33 int fd2 = 0; local
52 fd2 = smbc_open( argv[5], O_RDWR, 0666 );
54 if ( fd1 == -1 && fd2 != -1 )
H A Drename_8.c33 int fd2 = 0; local
54 fd2 = smbc_open( argv[6], O_RDWR, 0666 );
56 if ( fd1 == -1 && fd2 != -1 )
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/nmbd/
H A Dasyncdns.c133 int fd1[2], fd2[2]; local
137 if (pipe(fd1) || pipe(fd2)) {
146 fd_out = fd2[1];
148 close(fd2[0]);
153 fd_in = fd2[0];
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbwrapper/
H A Dsmbw.c1269 int fd2; local
1280 fd2 = dup(file->fd);
1281 if (fd2 == -1) {
1285 if (bitmap_query(smbw_file_bmap, fd2)) {
1293 close(fd2);
1301 file2->fd = fd2;
1305 bitmap_set(smbw_file_bmap, fd2);
1310 return fd2;
1321 int smbw_dup2(int fd, int fd2) argument
1333 if (bitmap_query(smbw_file_bmap, fd2)) {
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libdaemon-0.14/libdaemon/
H A Ddfork.c56 int fd2; local
58 if ((fd2 = open("/dev/null", f)) < 0)
61 if (fd2 == fd)
64 if (dup2(fd2, fd) < 0)
67 close(fd2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Daudit.h401 extern int __audit_fd_pair(int fd1, int fd2);
416 static inline int audit_fd_pair(int fd1, int fd2) argument
419 return __audit_fd_pair(fd1, fd2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/rc/
H A Drc.c2953 int fd1, fd2; local
2955 fd2 = open("/dev/null", O_WRONLY);
2957 dup2(fd2, 2);
2958 close(fd2);
3092 int fd1, fd2; local
3094 fd2 = open("/dev/null", O_WRONLY);
3096 dup2(fd2, 2);
3097 close(fd2);
3257 int fd1, fd2; local
3259 fd2
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/
H A Dl2tpd.c75 int fd2 = dup (fd); local
76 FILE *f = fdopen (fd2, "a");
115 fprintf (f, "Highest file descriptor: %d\n", fd2);
170 close (fd2);
294 int fd2; local
367 fd2 = open (tty, O_RDWR);
399 if (!kernel_support && (fd2 < 0))
401 if (fd2 < 0)
408 dup2 (fd2, 0);
409 dup2 (fd2,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/
H A Dsocket.c1226 int fd1, fd2, err; local
1250 fd2 = sock_alloc_fd(&newfile2);
1251 if (unlikely(fd2 < 0)) {
1268 err = audit_fd_pair(fd1, fd2);
1276 fd_install(fd2, newfile2);
1277 /* fd1 and fd2 may be already another descriptors.
1283 err = put_user(fd2, &usockvec[1]);
1287 sys_close(fd2);
1306 put_unused_fd(fd2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/include/
H A Dlibbb.h231 extern off_t bb_copyfd_eof(int fd1, int fd2);
232 extern off_t bb_copyfd_size(int fd1, int fd2, off_t size);
233 extern void bb_copyfd_exact_size(int fd1, int fd2, off_t size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/
H A Druntest.c613 int fd1, fd2; local
620 fd2 = open(r2, RD_FLAGS);
621 if (fd2 < 0) {
627 res2 = read(fd2, bytes2, 4096);
630 close(fd2);
637 close(fd2);
642 close(fd2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Drtsp.c1271 int fd1, fd2, fd_max, n, i, ret; local
1282 rtp_get_file_handles(rtsp_st->rtp_handle, &fd1, &fd2);
1293 rtp_get_file_handles(rtsp_st->rtp_handle, &fd1, &fd2);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dauditsc.c1889 * @fd2: the second file descriptor
1893 int __audit_fd_pair(int fd1, int fd2) argument
1908 ax->fd[1] = fd2;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/shell/
H A Dash.c1735 static int preverrout_fd; /* save fd2 before print debug if xflag is set. */
8843 int fd2; local
8853 fd2 = copyfd(fd, 10);
8855 if (fd2 < 0)
8857 fd = fd2;

Completed in 196 milliseconds