Searched refs:s_fd (Results 1 – 5 of 5) sorted by relevance
/titanic_44/usr/src/cmd/sort/common/ |
H A D | streams_stdio.c | 56 SF->s_fd = fileno(stdout); in stream_stdio_open_for_write() 58 if ((SF->s_fd = open(str->s_filename, O_CREAT | O_TRUNC | in stream_stdio_open_for_write() 341 if (cxwrite(str->s_type.SF.s_fd, NULL, 0) == 0) in stream_stdio_close() 342 (void) close(str->s_type.SF.s_fd); in stream_stdio_close() 357 if (cxwrite(str->s_type.SF.s_fd, "\n", 1) < 0) in stream_stdio_send_eol() 367 if (cxwrite(str->s_type.SF.s_fd, NULL, 0) < 0) in stream_stdio_flush() 378 if (cxwrite(str->s_type.SF.s_fd, line->l_data.sp, in stream_stdio_put_line()
|
H A D | streams_mmap.c | 125 if (str->s_type.SF.s_fd > -1) { in stream_mmap_close() 126 (void) close(str->s_type.SF.s_fd); in stream_mmap_close()
|
H A D | streams_wide.c | 243 if (wxwrite(str->s_type.SF.s_fd, w_crlf) < 0) in stream_wide_send_eol() 254 if (wxwrite(str->s_type.SF.s_fd, line->l_data.wp) >= 0) { in stream_wide_put_line()
|
H A D | streams.c | 234 str->s_type.SF.s_fd = fd; in stream_open_for_read() 312 str->s_type.SF.s_fd = -1; in stream_add_file_to_chain()
|
H A D | types.h | 149 int s_fd; /* file descriptor */ member
|