Home
last modified time | relevance | path

Searched refs:fd_in (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/cmd/ssh/sftp/
H A Dsftp-client.c64 int fd_in; member
242 do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests) in do_init() argument
256 get_msg(fd_in, &msg); in do_init()
282 ret->fd_in = fd_in; in do_init()
317 status = get_status(conn->fd_in, id); in do_close()
345 handle = get_handle(conn->fd_in, id, &handle_len); in do_lsreaddir()
368 get_msg(conn->fd_in, &msg); in do_lsreaddir()
467 status = get_status(conn->fd_in, id); in do_rm()
482 status = get_status(conn->fd_in, id); in do_mkdir()
498 status = get_status(conn->fd_in, id); in do_rmdir()
[all …]
H A Dsftp.c179 int interactive_loop(int fd_in, int fd_out, char *file1, char *file2);
1286 interactive_loop(int fd_in, int fd_out, char *file1, char *file2) in interactive_loop() argument
1329 conn = do_init(fd_in, fd_out, copy_buffer_len, num_requests); in interactive_loop()
/titanic_44/usr/src/cmd/lp/filter/postscript/common/
H A Dmisc.c186 int fd_in; /* for the input */ local
202 if ( (fd_in = open(file, O_RDONLY)) == -1 )
206 while ( (count = read(fd_in, buf, sizeof(buf))) > 0 )
209 close(fd_in);
/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A D_open.c144 FILE *fd_in, *fd_out; in open_mnt() local
150 if ((fd_in = _fopen(fname, "r")) == NULL) in open_mnt()
157 fclose(fd_in); in open_mnt()
161 while (getmntline(line, fd_in) != -1) { in open_mnt()
164 fclose(fd_in); in open_mnt()
170 fclose(fd_in); in open_mnt()
177 if (feof(fd_in)) { in open_mnt()
178 fclose(fd_in); in open_mnt()
188 fclose(fd_in); in open_mnt()
/titanic_44/usr/src/cmd/lp/filter/postscript/postio/
H A Dpostio.c637 int fd_in; /* next input file */ in arguments() local
645 if ((fd_in = open(*argv, O_RDONLY)) == -1) in arguments()
647 send(fd_in, *argv); in arguments()
648 close(fd_in); in arguments()
670 send(int fd_in, char *name) in send() argument
678 slowsend(fd_in); in send()
682 while (readblock(fd_in)) in send()
880 readblock(int fd_in) in readblock() argument
885 if ((tail = read(fd_in, block, blocksize)) == -1) in readblock()
H A Dslowsend.c68 slowsend(int fd_in) in slowsend() argument
84 while ( readblock(fd_in) ) in slowsend()
/titanic_44/usr/src/cmd/lp/filter/postscript/postcomm/
H A Dpostcomm.c392 int fd_in = fileno(stdin); in filter() local
408 while (readblock(fd_in)) in filter()
478 readblock(int fd_in) in readblock() argument
497 if ((tail = read(fd_in, block, blocksize)) == -1) in readblock()
/titanic_44/usr/src/cmd/sort/common/
H A Dutility.c682 int fd_in, fd_out; in xcp() local
692 if ((fd_in = open(src, O_RDONLY)) < 0) in xcp()
698 if ((mm_in = mmap(0, chunksize, PROT_READ, MAP_SHARED, fd_in, in xcp()
709 if ((mm_in = mmap(0, lastchunk, PROT_READ, MAP_SHARED, fd_in, in xcp()
719 (void) close(fd_in); in xcp()
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dpacket.c186 packet_set_connection(int fd_in, int fd_out) in packet_set_connection() argument
192 connection_in = fd_in; in packet_set_connection()