/macosx-10.9.5/bash-92/bash-3.2/lib/readline/examples/ |
H A D | rl.c | 3 * (or another fd) using readline. 87 int opt, fd, nch; local 98 fd = nch = 0; 109 fd = atoi(optarg); 110 if (fd < 0) 133 if (fd != 0) 135 if (fstat (fd, &sb) < 0) 137 fprintf (stderr, "%s: %d: bad file descriptor\n", progname, fd); 140 ifp = fdopen (fd, "r");
|
/macosx-10.9.5/curl-78.94.1/curl/src/ |
H A D | tool_cb_see.c | 67 if(LSEEK_ERROR == lseek(in->fd, 0, SEEK_SET)) 73 if(LSEEK_ERROR == lseek(in->fd, step, SEEK_CUR)) 82 if(LSEEK_ERROR == lseek(in->fd, offset, whence)) 112 # define _get_osfhandle(fd) (fd) 119 int tool_ftruncate64(int fd, curl_off_t where) argument 121 if(_lseeki64(fd, where, SEEK_SET) < 0) 124 if(!SetEndOfFile((HANDLE)_get_osfhandle(fd)))
|
H A D | tool_xattr.c | 50 int fwrite_xattr(CURL *curl, int fd) argument 60 err = fsetxattr(fd, mappings[i].attr, value, strlen(value), 0, 0); 62 err = fsetxattr(fd, mappings[i].attr, value, strlen(value), 0); 70 int fwrite_xattr(CURL *curl, int fd) argument 73 (void)fd;
|
/macosx-10.9.5/dtrace-118.1/DTTk/Apps/ |
H A D | weblatency.d | 49 * Check write fd for socket, not file. 73 * are used: self->fd, self->read. 83 self->fd = arg0 + 1; 89 /self->fd/ 93 self->fd = stringof(this->str) == "GET " ? self->fd : 0; 98 /self->fd/ 107 start[pid, self->fd - 1] = timestamp; 108 host[pid, self->fd - 1] = self->nam; 110 self->fd [all...] |
/macosx-10.9.5/dtrace-118.1/DTTk/Bin/ |
H A D | weblatency.d | 49 * Check write fd for socket, not file. 73 * are used: self->fd, self->read. 83 self->fd = arg0 + 1; 89 /self->fd/ 93 self->fd = stringof(this->str) == "GET " ? self->fd : 0; 98 /self->fd/ 107 start[pid, self->fd - 1] = timestamp; 108 host[pid, self->fd - 1] = self->nam; 110 self->fd [all...] |
/macosx-10.9.5/postfix-252/postfix/src/global/ |
H A D | deliver_flock.c | 9 /* int deliver_flock(fd, lock_style, why) 10 /* int fd; 20 /* .IP fd 67 int deliver_flock(int fd, int lock_style, VSTRING *why) argument 72 if (myflock(fd, lock_style,
|
/macosx-10.9.5/postfix-252/postfix/src/util/ |
H A D | peekfd.c | 9 /* ssize_t peekfd(fd) 10 /* int fd; 51 ssize_t peekfd(int fd) argument 60 return (ioctl(fd, FIONREAD, (char *) &count) < 0 ? -1 : count);
|
H A D | write_wait.c | 9 /* int write_wait(fd, timeout) 10 /* int fd; 17 /* .IP fd 62 int write_wait(int fd, int timeout) argument 73 if (FD_SETSIZE <= fd) 74 msg_panic("descriptor %d does not fit FD_SETSIZE %d", fd, FD_SETSIZE); 83 FD_SET(fd, &write_fds); 85 FD_SET(fd, &except_fds); 95 switch (select(fd + 1, (fd_set *) 0, &write_fds, &except_fds, tp)) { 116 pollfd.fd [all...] |
H A D | unix_pass_trigger.c | 64 int fd; member in struct:unix_pass_trigger 81 event_disable_readwrite(up->fd); 84 if (close(up->fd) < 0) 101 int fd; local 109 if ((fd = unix_pass_connect(service, BLOCKING, timeout)) < 0) { 114 close_on_exec(fd, CLOSE_ON_EXEC); 123 if (unix_send_fd(fd, pair[0]) < 0) 130 up->fd = fd; 147 event_enable_read(fd, unix_pass_trigger_even [all...] |
/macosx-10.9.5/procmail-14/procmail/src/ |
H A D | locking.h | 14 #define fdlock(fd) 0 21 fdlock P((int fd)),
|
/macosx-10.9.5/swig-10/Lib/guile/ |
H A D | ports.i | 35 int fd; 38 fd=dup(SCM_FPORT_FDES($input)); 39 if(fd==-1) 41 $1=fdopen(fd,
|
/macosx-10.9.5/tcl-102/tcl_ext/expect/expect/example/ |
H A D | chesslib++.c | 21 read_first_move(int fd) argument 23 if (EXP_TIMEOUT == exp_expectl(fd,exp_glob,"first\r\n1.*\r\n",0,exp_end)) { 32 read_counter_move(int fd) argument 34 switch (exp_expectl(fd,exp_glob,"*...*\r\n",0,exp_end)) { 43 read_move(int fd) argument 45 switch (exp_expectl(fd,exp_glob,"*...*\r\n*.*\r\n",0,exp_end)) { 54 send_move(int fd) argument 56 write(fd,move,strlen(move));
|
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/library/xml/TclExpat-1.1/ |
H A D | readfilemap.c | 50 int fd; local 55 fd = open(name, O_RDONLY|O_BINARY); 56 if (fd < 0) { 60 if (fstat(fd, &sb) < 0) { 74 n = read(fd, p, nbytes); 77 close(fd); 82 close(fd); 87 close(fd);
|
/macosx-10.9.5/bash-92/bash-3.2/ |
H A D | redir.c | 263 write_here_string (fd, redirectee) 264 int fd; 273 n = write (fd, herestr, herelen); 276 n = write (fd, "\n", 1); 294 write_here_document (fd, redirectee) 295 int fd; 312 if (write (fd, document, document_len) < document_len) 330 if ((fd2 = dup (fd)) < 0 || (fp = fdopen (fd2, "w")) == NULL) 376 int r, fd, fd2; local 378 fd 471 int fd; local 528 int r, fd; local 580 int fd, r; local 622 int redir_fd, fd, redirector, r, oflags; local [all...] |
H A D | input.c | 159 make_buffered_stream (fd, buffer, bufsize) 160 int fd; 167 ALLOCATE_BUFFERS (fd); 168 buffers[fd] = bp; 169 bp->b_fd = fd; 194 set_bash_input_fd (fd) 195 int fd; 198 bash_input.location.buffered_fd = fd; 200 default_buffered_input = fd; 205 fd_is_bash_input (fd) 379 int fd; local 409 int fd; local [all...] |
/macosx-10.9.5/bash-92/bash-3.2/lib/sh/ |
H A D | shtty.c | 37 ttgetattr(fd, ttp) 38 int fd; 42 return tcgetattr(fd, ttp); 45 return ioctl(fd, TCGETA, ttp); 47 return ioctl(fd, TIOCGETP, ttp); 53 ttsetattr(fd, ttp) 54 int fd; 58 return tcsetattr(fd, TCSADRAIN, ttp); 61 return ioctl(fd, TCSETAW, ttp); 63 return ioctl(fd, TIOCSET [all...] |
/macosx-10.9.5/Security-55471.14.18/include/security_codesigning/ |
H A D | singlediskrep.cpp | 53 this->fd().seek(0); 54 hashFileData(this->fd(), &hash); 81 return fd().fileSize(); 88 FileDesc &SingleDiskRep::fd() function in class:Security::CodeSigning::SingleDiskRep 118 FileDesc &SingleDiskRep::Writer::fd() function in class:Security::CodeSigning::SingleDiskRep::Writer
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_codesigning/lib/ |
H A D | singlediskrep.cpp | 53 this->fd().seek(0); 54 hashFileData(this->fd(), &hash); 81 return fd().fileSize(); 88 FileDesc &SingleDiskRep::fd() function in class:Security::CodeSigning::SingleDiskRep 118 FileDesc &SingleDiskRep::Writer::fd() function in class:Security::CodeSigning::SingleDiskRep::Writer
|
/macosx-10.9.5/curl-78.94.1/curl/docs/examples/ |
H A D | fileupload.c | 33 FILE *fd; local 35 fd = fopen("debugit", "rb"); /* open file to upload */ 36 if(!fd) { 42 if(fstat(fileno(fd), &file_info) != 0) { 57 curl_easy_setopt(curl, CURLOPT_READDATA, fd);
|
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/bundle-memory-load-bad/ |
H A D | main.c | 39 int fd = open("test.bundle", O_RDONLY, 0); local 40 if ( fd == -1 ) { 46 if ( fstat(fd, &stat_buf) == -1) { 51 void* loadAddress = mmap(NULL, stat_buf.st_size, PROT_READ, MAP_FILE | MAP_PRIVATE, fd, 0); 57 close(fd);
|
/macosx-10.9.5/efax-36/efax/ |
H A D | efaxtest.c | 21 fd; local 43 fd = socket(AF_LOCAL, SOCK_STREAM, 0); 44 if (connect(fd, (struct sockaddr *)&saddr, SUN_LEN(&saddr)) < 0) { 49 write(fd, command, strlen(command)); 50 close(fd);
|
/macosx-10.9.5/netcat-20/ |
H A D | atomicio.c | 38 extern int wait_for_flowadv(int fd); 44 atomicio(f, fd, _s, n) 46 int fd; 55 res = (f) (fd, s + pos, n - pos); 60 if (errno == ENOBUFS && use_flowadv && wait_for_flowadv(fd) == 0)
|
/macosx-10.9.5/CPANInternal-140/IO-KQueue/examples/ |
H A D | chat.pl | 28 my $fd = $kevent->[KQ_IDENT]; 30 if ($fd == fileno($server)) { 43 my $client = $users{$fd} || die "Unknown fd: $fd"; 49 delete $users{$fd}; 54 die "read error on $fd: $!"; 58 next if $f == $fd;
|
/macosx-10.9.5/CPANInternal-140/IO-KQueue-0.34/examples/ |
H A D | chat.pl | 28 my $fd = $kevent->[KQ_IDENT]; 30 if ($fd == fileno($server)) { 43 my $client = $users{$fd} || die "Unknown fd: $fd"; 49 delete $users{$fd}; 54 die "read error on $fd: $!"; 58 next if $f == $fd;
|
/macosx-10.9.5/WebKit2-7537.78.2/Shared/EntryPointUtilities/mac/LegacyProcess/ |
H A D | ChildProcessMain.mm | 40 for (int fd = 3; fd < numFDs; ++fd) { 44 if (!kevent(fd, 0, 0, 0, 0, &timeSpec)) 47 close(fd);
|