Searched refs:fd (Results 126 - 150 of 2392) sorted by relevance

1234567891011>>

/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/tkextlib/iwidgets/sample/
H A Dfinddialog.rb11 fd = Tk::Iwidgets::Finddialog.new(:textwidget=>st)
12 fd.center(st)
13 fd.activate
/macosx-10.9.5/tcl-102/tcl_ext/sdx/sdx/lib/app-sdx/
H A Dstarsync.tcl10 set fd [open $log a]
11 puts $fd [linsert $r 0 $addr $time $uri]
12 close $fd
/macosx-10.9.5/xnu-2422.115.4/libsyscall/wrappers/unix03/
H A Dfchmod.c32 extern int __fchmod(int fd, mode_t mode);
41 fchmod(int fd, mode_t mode) argument
43 int res = __fchmod(fd, mode);
48 res = __fchmod(fd, mode ^ S_ISGID);
53 res = __fchmod(fd, mode ^ S_ISUID);
58 res = __fchmod(fd, mode ^ (S_ISUID | S_ISGID));
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dcloexec.c39 rk_cloexec(int fd) argument
44 ret = fcntl(fd, F_GETFD);
47 if (fcntl(fd, F_SETFD, ret | FD_CLOEXEC) == -1)
/macosx-10.9.5/emacs-92/emacs/src/s/
H A Dirix4-0.h67 char *name = _getpty (&fd, O_RDWR | O_NDELAY, 0600, 0); \
71 if (fd < 0) \
73 if (fstat (fd, &stb) < 0) \
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/dir/
H A Dopendir.c52 register int fd;
55 if ((fd = open(path, O_RDONLY)) < 0) return(0);
56 if (fstat(fd, &st) < 0 ||
58 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
67 close(fd);
76 dirp->dd_fd = fd;
/macosx-10.9.5/postfix-252/postfix/src/util/
H A Dopen_as.c52 int fd; local
62 fd = open(path, flags, mode);
69 return (fd);
H A Dstream_listen.c14 /* int stream_accept(fd)
15 /* int fd;
34 /* .IP fd
87 int stream_accept(int fd) argument
96 if (ioctl(fd, I_RECVFD, &fdinfo) < 0)
98 return (fdinfo.fd);
H A Dtimed_write.c9 /* ssize_t timed_write(fd, buf, len, timeout, context)
10 /* int fd;
20 /* .IP fd
60 ssize_t timed_write(int fd, void *buf, size_t len, argument
79 if (timeout > 0 && write_wait(fd, timeout) < 0)
81 if ((ret = write(fd, buf, len)) < 0 && timeout > 0 && errno == EAGAIN) {
H A Dtimed_read.c9 /* ssize_t timed_read(fd, buf, len, timeout, context)
10 /* int fd;
20 /* .IP fd
60 ssize_t timed_read(int fd, void *buf, size_t len, argument
76 if (timeout > 0 && read_wait_no_poll(fd, timeout) < 0)
80 if (timeout > 0 && read_wait(fd, timeout) < 0)
85 if ((ret = read(fd, buf, len)) < 0 && timeout > 0 && errno == EAGAIN) {
/macosx-10.9.5/ppp-727.90.1/Shared/
H A Dfd_exchange.h10 typedef void (^FDExchangeMsgHandler)(int fd, const void *data, size_t data_len); variable
15 bool fd_exchange_send_response(struct fd_exchange *exchange, int type, int fd, const void *data, size_t data_len);
16 bool fd_exchange_send_request(struct fd_exchange *exchange, int type, int fd, const void *data, size_t data_len, FDExchangeMsgHandler handler);
/macosx-10.9.5/ruby-104/ruby/ext/io/nonblock/
H A Dnonblock.c22 io_nonblock_mode(int fd) argument
24 int f = fcntl(fd, F_GETFL);
29 #define io_nonblock_mode(fd) ((void)(fd), 0)
38 if (io_nonblock_mode(fptr->fd) & O_NONBLOCK)
48 io_nonblock_set(int fd, int f, int nb) argument
60 if (fcntl(fd, F_SETFL, f) == -1)
69 io_nonblock_set(fptr->fd, io_nonblock_mode(fptr->fd), RTEST(nb));
95 f = io_nonblock_mode(fptr->fd);
[all...]
/macosx-10.9.5/Libc-997.90.3/gen/FreeBSD/
H A Disatty.c44 isatty(fd)
45 int fd;
50 if(ioctl(fd, FIODTYPE, &type) != -1) {
54 retval = (tcgetattr(fd, &t) != -1);
/macosx-10.9.5/Libc-997.90.3/stdio/FreeBSD/
H A Ddprintf.c38 dprintf(int fd, const char * __restrict fmt, ...) argument
44 ret = vdprintf_l(fd, __current_locale(), fmt, ap);
50 dprintf_l(int fd, locale_t loc, const char * __restrict fmt, ...) argument
56 ret = vdprintf_l(fd, loc, fmt, ap);
/macosx-10.9.5/bind9-45.100/bind9/bin/confgen/include/confgen/
H A Dos.h29 int set_user(FILE *fd, const char *user);
31 * Set the owner of the file referenced by 'fd' to 'user'.
/macosx-10.9.5/bind9-45.100/bind9/bin/rndc/include/rndc/
H A Dos.h30 int set_user(FILE *fd, const char *user);
32 * Set the owner of the file referenced by 'fd' to 'user'.
/macosx-10.9.5/cups-372.4/cups/backend/
H A Dtest1284.c46 fd; /* File descriptor */ local
60 if ((fd = open(argv[i], O_RDWR)) < 0)
68 backendGetDeviceID(fd, device_id, sizeof(device_id), make_model,
75 close(fd);
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dsafe-read.h30 extern size_t safe_read (int fd, void *buf, size_t count);
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/include/
H A Dterminal.h73 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty)
75 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
106 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty)
107 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
125 # define tcgetattr(fd,tty) ioctl(fd, TIOCGET
[all...]
/macosx-10.9.5/libauto-185.5/tests/
H A Dlookfor.c37 printf("Whoops, didn't takeover error fd!!!, got %d when creating '%s'\n", result, tmpfilename);
45 int fd = open(tmpfilename, 0); local
46 if (fd < 0) {
50 int count = read(fd, buffer, 512);
55 close(fd);
/macosx-10.9.5/man-16/man/gencat/
H A Dgencat.h96 extern void MCParse P_((int fd));
97 extern void MCReadCat P_((int fd));
98 extern void MCWriteConst P_((int fd, int type, int orConsts));
99 extern void MCWriteCat P_((int fd));
/macosx-10.9.5/ntp-88/include/
H A Dntp_tty.h17 #define tcsetattr(fd, cmd, arg) ioctl(fd, cmd, arg)
32 #define tcflush(fd, arg) ioctl(fd, TCFLSH, arg)
/macosx-10.9.5/postfix-252/postfix/src/global/
H A Dfile_id.c9 /* const char *get_file_id_fd(fd, long_flag)
10 /* int fd;
17 /* const char *get_file_id(fd)
18 /* int fd;
33 /* .IP fd
73 const char *get_file_id(int fd) argument
75 return (get_file_id_fd(fd, 0));
80 const char *get_file_id_fd(int fd, int long_flag) argument
84 if (fstat(fd, &st) < 0)
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/
H A Dexp_console.c52 int fd; local
54 if ((fd = open("/dev/console", O_RDONLY)) == -1) {
57 if (ioctl(fd, SRIOCSREDIR, 0) == -1) {
60 close(fd);
/macosx-10.9.5/text_cmds-87/sort/
H A Dfopen-safer.c43 int fd = fileno (fp); local
45 if (0 <= fd && fd <= STDERR_FILENO)
47 int f = dup_safer (fd);

Completed in 154 milliseconds

1234567891011>>