fd                 54 lib/mcconfig/common.c     int fd;
fd                 71 lib/mcconfig/common.c     fd = mc_open (ini_vpath, O_WRONLY | O_TRUNC, 0);
fd                 74 lib/mcconfig/common.c     if (fd == -1)
fd                 82 lib/mcconfig/common.c          (cur_written = mc_write (fd, (const void *) written_data, total_written)) > 0;
fd                 86 lib/mcconfig/common.c     mc_close (fd);
fd                261 lib/tty/key.c      int fd;
fd                564 lib/tty/key.c      return (FD_ISSET (s->fd, f) ? 0 : 1);
fd                573 lib/tty/key.c      const int fd = GPOINTER_TO_INT (b);
fd                575 lib/tty/key.c      return (s->fd == fd ? 0 : 1);
fd                593 lib/tty/key.c              FD_SET (p->fd, select_set);
fd                594 lib/tty/key.c              if (p->fd > top_fd)
fd                595 lib/tty/key.c                  top_fd = p->fd;
fd                617 lib/tty/key.c          FD_CLR (p->fd, select_set);
fd                618 lib/tty/key.c          p->callback (p->fd, p->info);
fd               1400 lib/tty/key.c  add_select_channel (int fd, select_fn callback, void *info)
fd               1405 lib/tty/key.c      new->fd = fd;
fd               1415 lib/tty/key.c  delete_select_channel (int fd)
fd               1419 lib/tty/key.c      p = g_slist_find_custom (select_list, GINT_TO_POINTER (fd), select_cmp_by_fd);
fd                 86 lib/tty/key.h  typedef int (*select_fn) (int fd, void *info);
fd                 89 lib/tty/key.h  void add_select_channel (int fd, select_fn callback, void *info);
fd                 90 lib/tty/key.h  void delete_select_channel (int fd);
fd                295 lib/tty/tty.c  tty_resize (int fd)
fd                304 lib/tty/tty.c      return ioctl (fd, TIOCSWINSZ, &tty_size);
fd                131 lib/tty/tty.h  extern int tty_resize (int fd);
fd                822 lib/util.c     get_compression_type (int fd, const char *name)
fd                828 lib/util.c         if (mc_read (fd, (char *) magic, 4) != 4)
fd                839 lib/util.c             mc_lseek (fd, 8, SEEK_SET);
fd                840 lib/util.c             if (mc_read (fd, (char *) magic, 2) != 2)
fd                872 lib/util.c         if (mc_read (fd, (char *) magic + 4, 2) != 2)
fd                 71 lib/util.h         int fd;
fd                222 lib/util.h     enum compression_type get_compression_type (int fd, const char *);
fd                246 lib/utilunix.c     if (!FD_ISSET (ps->fd, fds))
fd                259 lib/utilunix.c         read_len = read (ps->fd, ps->buf, buf_len);
fd                527 lib/utilunix.c          NULL, NULL, &p->child_pid, NULL, &p->out.fd, &p->err.fd, error))
fd                580 lib/utilunix.c     read_out = p->out.fd >= 0 && p->out.len > 0;
fd                581 lib/utilunix.c     read_err = p->err.fd >= 0 && p->err.len > 0;
fd                593 lib/utilunix.c         FD_SET (p->out.fd, &fds);
fd                594 lib/utilunix.c         maxfd = p->out.fd;
fd                599 lib/utilunix.c         FD_SET (p->err.fd, &fds);
fd                600 lib/utilunix.c         maxfd = MAX (maxfd, p->err.fd);
fd                638 lib/utilunix.c     if (p->out.fd >= 0)
fd                639 lib/utilunix.c         res = close (p->out.fd);
fd                640 lib/utilunix.c     if (p->err.fd >= 0)
fd                641 lib/utilunix.c         res = close (p->err.fd);
fd               1672 lib/vfs/direntry.c vfs_s_get_line_interruptible (struct vfs_class *me, char *buffer, int size, int fd)
fd               1685 lib/vfs/direntry.c         n = read (fd, &buffer[i], 1);
fd                750 lib/vfs/interface.c mc_lseek (int fd, off_t offset, int whence)
fd                756 lib/vfs/interface.c     if (fd == -1)
fd                759 lib/vfs/interface.c     vfs = vfs_class_find_by_handle (fd, &fsinfo);
fd                787 lib/vfs/interface.c     int fd;
fd                800 lib/vfs/interface.c     fd = g_mkstemp (p2);
fd                801 lib/vfs/interface.c     if (fd >= 0)
fd                806 lib/vfs/interface.c         fd = -1;
fd                811 lib/vfs/interface.c     return fd;
fd                182 lib/vfs/utilvfs.c     int fd;
fd                203 lib/vfs/utilvfs.c     fd = mc_mkstemps (pname_vpath, prefix, suffix->str);
fd                206 lib/vfs/utilvfs.c     return fd;
fd                310 lib/vfs/vfs.h  off_t mc_lseek (int fd, off_t offset, int whence);
fd                319 lib/vfs/vfs.h  int mc_fstat (int fd, struct stat *buf);
fd                327 lib/vfs/vfs.h  int mc_ctl (int fd, int ctlop, void *arg);
fd                188 lib/vfs/xdirentry.h int vfs_s_get_line_interruptible (struct vfs_class *me, char *buffer, int size, int fd);
fd                 81 src/background.c static int background_attention (int fd, void *closure);
fd                 87 src/background.c register_task_running (file_op_context_t * ctx, pid_t pid, int fd, int to_child, char *info)
fd                 96 src/background.c     new->fd = fd;
fd                100 src/background.c     add_select_channel (fd, background_attention, ctx);
fd                115 src/background.c             int fd = p->fd;
fd                123 src/background.c             return fd;
fd                186 src/background.c background_attention (int fd, void *closure)
fd                223 src/background.c     bytes = read (fd, &routine.pointer, sizeof (routine));
fd                226 src/background.c         unregister_task_running (ctx->pid, fd);
fd                245 src/background.c     if (read (fd, &argc, sizeof (argc)) != sizeof (argc) ||
fd                246 src/background.c         read (fd, &type, sizeof (type)) != sizeof (type) ||
fd                247 src/background.c         read (fd, &have_ctx, sizeof (have_ctx)) != sizeof (have_ctx))
fd                255 src/background.c     if (have_ctx != 0 && read (fd, ctx, sizeof (*ctx)) != sizeof (*ctx))
fd                262 src/background.c         if (read (fd, &size, sizeof (size)) != sizeof (size))
fd                267 src/background.c         if (read (fd, data[i], size) != size)
fd                276 src/background.c         if (p->fd == fd)
fd                490 src/background.c unregister_task_running (pid_t pid, int fd)
fd                493 src/background.c     delete_select_channel (fd);
fd                501 src/background.c     int fd;
fd                503 src/background.c     fd = destroy_task (pid);
fd                504 src/background.c     if (fd != -1)
fd                505 src/background.c         delete_select_channel (fd);
fd                 20 src/background.h     int fd;
fd                 42 src/background.h void unregister_task_running (pid_t pid, int fd);
fd                 45 src/diffviewer/internal.h     int fd;
fd                169 src/diffviewer/ydiff.c     int fd;
fd                172 src/diffviewer/ydiff.c     fd = mc_mkstemps (&diff_file_name, "mcdiff", NULL);
fd                173 src/diffviewer/ydiff.c     if (fd == -1)
fd                181 src/diffviewer/ydiff.c     return fd;
fd                194 src/diffviewer/ydiff.c f_dopen (int fd)
fd                198 src/diffviewer/ydiff.c     if (fd < 0)
fd                212 src/diffviewer/ydiff.c     fs->fd = fd;
fd                255 src/diffviewer/ydiff.c     int fd;
fd                262 src/diffviewer/ydiff.c     fd = open_temp (&fs->data);
fd                263 src/diffviewer/ydiff.c     if (fd < 0)
fd                269 src/diffviewer/ydiff.c     fs->fd = fd;
fd                288 src/diffviewer/ydiff.c     int fd;
fd                295 src/diffviewer/ydiff.c     fd = open (filename, flags);
fd                296 src/diffviewer/ydiff.c     if (fd < 0)
fd                302 src/diffviewer/ydiff.c     fs->fd = fd;
fd                342 src/diffviewer/ydiff.c         fs->len = read (fs->fd, fs->buf, FILE_READ_BUF);
fd                369 src/diffviewer/ydiff.c         rv = lseek (fs->fd, 0, SEEK_CUR);
fd                385 src/diffviewer/ydiff.c     rv = lseek (fs->fd, off, whence);
fd                406 src/diffviewer/ydiff.c     rv = lseek (fs->fd, 0, SEEK_SET);
fd                430 src/diffviewer/ydiff.c     rv = write (fs->fd, buf, size);
fd                452 src/diffviewer/ydiff.c     off = lseek (fs->fd, 0, SEEK_CUR);
fd                457 src/diffviewer/ydiff.c         rv = ftruncate (fs->fd, off);
fd                483 src/diffviewer/ydiff.c         rv = close (fs->fd);
fd                527 src/diffviewer/ydiff.c     fs->fd = fileno (f);
fd               1784 src/editor/edit.c         FILE *fd;
fd               1799 src/editor/edit.c         fd = fopen (block_file, "w");
fd               1800 src/editor/edit.c         if (fd != NULL)
fd               1801 src/editor/edit.c             fclose (fd);
fd                649 src/editor/editbuffer.c edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size,
fd                672 src/editor/editbuffer.c         ret = mc_read (fd, b, data_size);
fd                691 src/editor/editbuffer.c         sz = mc_read (fd, b, data_size);
fd                763 src/editor/editbuffer.c edit_buffer_write_file (edit_buffer_t * buf, int fd)
fd                777 src/editor/editbuffer.c             sz = mc_write (fd, b, data_size);
fd                789 src/editor/editbuffer.c         sz = mc_write (fd, b, data_size);
fd                803 src/editor/editbuffer.c         sz = mc_write (fd, (char *) b + EDIT_BUF_SIZE - data_size, data_size);
fd                814 src/editor/editbuffer.c                 sz = mc_write (fd, b, data_size);
fd                 61 src/editor/editbuffer.h off_t edit_buffer_read_file (edit_buffer_t * buf, int fd, off_t size,
fd                 63 src/editor/editbuffer.h off_t edit_buffer_write_file (edit_buffer_t * buf, int fd);
fd                189 src/editor/editcmd.c     int this_save_mode, rv, fd = -1;
fd                213 src/editor/editcmd.c             || (fd = mc_open (real_filename_vpath, O_RDONLY | O_BINARY)) == -1)
fd                221 src/editor/editcmd.c         if (fd != -1)
fd                222 src/editor/editcmd.c             mc_close (fd);
fd                275 src/editor/editcmd.c         fd = mc_mkstemps (&savename_vpath, saveprefix, NULL);
fd                287 src/editor/editcmd.c         close (fd);
fd                295 src/editor/editcmd.c     fd = mc_open (savename_vpath, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, edit->stat1.st_mode);
fd                296 src/editor/editcmd.c     if (fd == -1)
fd                305 src/editor/editcmd.c         mc_close (fd);
fd                336 src/editor/editcmd.c         filelen = edit_buffer_write_file (&edit->buffer, fd);
fd                340 src/editor/editcmd.c             mc_close (fd);
fd                343 src/editor/editcmd.c         if (mc_close (fd) != 0)
fd                354 src/editor/editcmd.c         mc_close (fd);
fd                480 src/filemanager/boxes.c         unregister_task_running (tl->pid, tl->fd);
fd               1421 src/filemanager/layout.c load_prompt (int fd, void *unused)
fd               1423 src/filemanager/layout.c     (void) fd;
fd                 89 src/filemanager/layout.h int load_prompt (int fd, void *unused);
fd               1228 src/filemanager/mountlist.c     int i, fd;
fd               1251 src/filemanager/mountlist.c     fd = open (dir, O_RDONLY);
fd               1252 src/filemanager/mountlist.c     if (fd == -1)
fd               1255 src/filemanager/mountlist.c     i = disk_get_entry (fd, &de);
fd               1257 src/filemanager/mountlist.c     close (fd);
fd                203 src/subshell/common.c write_all (int fd, const void *buf, size_t count)
fd                211 src/subshell/common.c         ret = write (fd, (const unsigned char *) buf + written, count);
fd                 61 src/vfs/cpio/cpio.c #define CPIO_SEEK_SET(super, where) mc_lseek (CPIO_SUPER(super)->fd, CPIO_POS(super) = (where), SEEK_SET)
fd                 62 src/vfs/cpio/cpio.c #define CPIO_SEEK_CUR(super, where) mc_lseek (CPIO_SUPER(super)->fd, CPIO_POS(super) += (where), SEEK_SET)
fd                136 src/vfs/cpio/cpio.c     int fd;
fd                200 src/vfs/cpio/cpio.c     arch->fd = -1;              /* for now */
fd                215 src/vfs/cpio/cpio.c     if (arch->fd != -1)
fd                217 src/vfs/cpio/cpio.c         mc_close (arch->fd);
fd                218 src/vfs/cpio/cpio.c         arch->fd = -1;
fd                229 src/vfs/cpio/cpio.c     int fd, type;
fd                234 src/vfs/cpio/cpio.c     fd = mc_open (vpath, O_RDONLY);
fd                235 src/vfs/cpio/cpio.c     if (fd == -1)
fd                245 src/vfs/cpio/cpio.c     type = get_compression_type (fd, super->name);
fd                247 src/vfs/cpio/cpio.c         mc_lseek (fd, 0, SEEK_SET);
fd                253 src/vfs/cpio/cpio.c         mc_close (fd);
fd                256 src/vfs/cpio/cpio.c         fd = mc_open (tmp_vpath, O_RDONLY);
fd                258 src/vfs/cpio/cpio.c         if (fd == -1)
fd                268 src/vfs/cpio/cpio.c     arch->fd = fd;
fd                283 src/vfs/cpio/cpio.c     return fd;
fd                320 src/vfs/cpio/cpio.c     top = mc_read (arch->fd, buf, sizeof (buf));
fd                334 src/vfs/cpio/cpio.c             tmp = mc_read (arch->fd, buf, top);
fd                531 src/vfs/cpio/cpio.c                 if (mc_read (arch->fd, inode->linkname, st->st_size) < st->st_size)
fd                564 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, (char *) &u.buf, HEAD_LENGTH);
fd                581 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, u.buf.c_namesize);
fd                633 src/vfs/cpio/cpio.c     if (mc_read (arch->fd, u.buf, HEAD_LENGTH) != HEAD_LENGTH)
fd                653 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, hd.c_namesize);
fd                705 src/vfs/cpio/cpio.c     if (mc_read (arch->fd, u.buf, HEAD_LENGTH) != HEAD_LENGTH)
fd                733 src/vfs/cpio/cpio.c     len = mc_read (arch->fd, name, hd.c_namesize);
fd                855 src/vfs/cpio/cpio.c     int fd = CPIO_SUPER (VFS_FILE_HANDLER_SUPER (fh))->fd;
fd                859 src/vfs/cpio/cpio.c     if (mc_lseek (fd, begin + file->pos, SEEK_SET) != begin + file->pos)
fd                864 src/vfs/cpio/cpio.c     res = mc_read (fd, buffer, count);
fd                 70 src/vfs/local/local.c     int fd;
fd                 74 src/vfs/local/local.c     fd = open (path_element->path, NO_LINEAR (flags), mode);
fd                 75 src/vfs/local/local.c     if (fd == -1)
fd                 79 src/vfs/local/local.c     *local_info = fd;
fd                228 src/vfs/local/local.c     int fd;
fd                234 src/vfs/local/local.c     fd = *(int *) data;
fd                236 src/vfs/local/local.c     while ((n = write (fd, buf, nbyte)) == -1)
fd                359 src/vfs/local/local.c     int fd;
fd                364 src/vfs/local/local.c     fd = *(int *) data;
fd                366 src/vfs/local/local.c     while ((n = read (fd, buffer, count)) == -1)
fd                387 src/vfs/local/local.c     int fd;
fd                392 src/vfs/local/local.c     fd = *(int *) data;
fd                394 src/vfs/local/local.c     return close (fd);
fd                411 src/vfs/local/local.c     int fd = *(int *) data;
fd                413 src/vfs/local/local.c     return fstat (fd, buf);
fd                421 src/vfs/local/local.c     int fd = *(int *) data;
fd                423 src/vfs/local/local.c     return lseek (fd, offset, whence);
fd                282 src/vfs/sfs/sfs.c     int fd;
fd                284 src/vfs/sfs/sfs.c     fd = open (sfs_redirect (vpath), NO_LINEAR (flags), mode);
fd                285 src/vfs/sfs/sfs.c     if (fd == -1)
fd                289 src/vfs/sfs/sfs.c     *info = fd;
fd                 81 src/vfs/sftpfs/internal.c     fd_set fd;
fd                 88 src/vfs/sftpfs/internal.c     FD_ZERO (&fd);
fd                 89 src/vfs/sftpfs/internal.c     FD_SET (super->socket_handle, &fd);
fd                 95 src/vfs/sftpfs/internal.c         readfd = &fd;
fd                 98 src/vfs/sftpfs/internal.c         writefd = &fd;
fd                 60 src/vfs/smbfs/helpers/include/client.h     int fd;
fd                430 src/vfs/smbfs/helpers/include/nameserv.h     int fd;
fd                129 src/vfs/smbfs/helpers/include/proto.h int set_blocking (int fd, BOOL set);
fd                137 src/vfs/smbfs/helpers/include/proto.h int set_filelen (int fd, SMB_OFF_T len);
fd                158 src/vfs/smbfs/helpers/include/proto.h BOOL fcntl_lock (int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type);
fd                174 src/vfs/smbfs/helpers/include/proto.h BOOL do_file_lock (int fd, int waitsecs, int type);
fd                175 src/vfs/smbfs/helpers/include/proto.h BOOL file_lock (int fd, int type, int secs, int *plock_depth);
fd                176 src/vfs/smbfs/helpers/include/proto.h BOOL file_unlock (int fd, int *plock_depth);
fd                186 src/vfs/smbfs/helpers/include/proto.h BOOL is_a_socket (int fd);
fd                187 src/vfs/smbfs/helpers/include/proto.h void set_socket_options (int fd, char *options);
fd                189 src/vfs/smbfs/helpers/include/proto.h ssize_t write_socket (int fd, char *buf, size_t len);
fd                190 src/vfs/smbfs/helpers/include/proto.h ssize_t read_udp_socket (int fd, char *buf, size_t len);
fd                191 src/vfs/smbfs/helpers/include/proto.h ssize_t read_with_timeout (int fd, char *buf, size_t mincnt, size_t maxcnt, unsigned int time_out);
fd                193 src/vfs/smbfs/helpers/include/proto.h ssize_t read_data (int fd, char *buffer, size_t N);
fd                194 src/vfs/smbfs/helpers/include/proto.h ssize_t write_data (int fd, char *buffer, size_t N);
fd                195 src/vfs/smbfs/helpers/include/proto.h ssize_t read_smb_length (int fd, char *inbuf, unsigned int timeout);
fd                196 src/vfs/smbfs/helpers/include/proto.h BOOL receive_smb (int fd, char *buffer, unsigned int timeout);
fd                197 src/vfs/smbfs/helpers/include/proto.h BOOL client_receive_smb (int fd, char *buffer, unsigned int timeout);
fd                198 src/vfs/smbfs/helpers/include/proto.h BOOL send_null_session_msg (int fd);
fd                199 src/vfs/smbfs/helpers/include/proto.h BOOL send_smb (int fd, char *buffer);
fd                203 src/vfs/smbfs/helpers/include/proto.h char *client_name (int fd);
fd                204 src/vfs/smbfs/helpers/include/proto.h char *client_addr (int fd);
fd                278 src/vfs/smbfs/helpers/include/proto.h BOOL cli_getattrE (struct cli_state *cli, int fd,
fd                315 src/vfs/smbfs/helpers/include/proto.h struct in_addr *name_query (int fd, const char *name, int name_type, BOOL bcast, BOOL recurse,
fd                329 src/vfs/smbfs/helpers/include/proto.h struct packet_struct *read_packet (int fd, enum packet_type packet_type);
fd                333 src/vfs/smbfs/helpers/include/proto.h struct packet_struct *receive_packet (int fd, enum packet_type type, int t);
fd                518 src/vfs/smbfs/helpers/include/smb.h     int fd;
fd                 76 src/vfs/smbfs/helpers/lib/netmask.c     int fd, i, n;
fd                 79 src/vfs/smbfs/helpers/lib/netmask.c     if ((fd = socket (AF_INET, SOCK_DGRAM, 0)) == -1)
fd                 89 src/vfs/smbfs/helpers/lib/netmask.c     if (ioctl (fd, SIOCGIFCONF, &ifc) != 0)
fd                 94 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                109 src/vfs/smbfs/helpers/lib/netmask.c         if (ioctl (fd, SIOCGIFADDR, &ifr[i]) != 0)
fd                126 src/vfs/smbfs/helpers/lib/netmask.c         if (ioctl (fd, SIOCGIFNETMASK, &ifr[i]) != 0)
fd                131 src/vfs/smbfs/helpers/lib/netmask.c             close (fd);
fd                134 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                146 src/vfs/smbfs/helpers/lib/netmask.c     close (fd);
fd                180 src/vfs/smbfs/helpers/lib/netmask.c     int fd, i, n;
fd                183 src/vfs/smbfs/helpers/lib/netmask.c     if ((fd = socket (AF_INET, SOCK_DGRAM, 0)) == -1)
fd                196 src/vfs/smbfs/helpers/lib/netmask.c     if (ioctl (fd, I_STR, &strioctl) < 0)
fd                201 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                226 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                236 src/vfs/smbfs/helpers/lib/netmask.c     if (ioctl (fd, I_STR, &strioctl) != 0)
fd                241 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                245 src/vfs/smbfs/helpers/lib/netmask.c     close (fd);
fd                283 src/vfs/smbfs/helpers/lib/netmask.c     int fd, i;
fd                287 src/vfs/smbfs/helpers/lib/netmask.c     if ((fd = socket (AF_INET, SOCK_DGRAM, 0)) == -1)
fd                299 src/vfs/smbfs/helpers/lib/netmask.c     if (ioctl (fd, SIOCGIFCONF, &ifc) != 0)
fd                304 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                330 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                335 src/vfs/smbfs/helpers/lib/netmask.c     if (ioctl (fd, SIOCGIFNETMASK, ifr) != 0)
fd                340 src/vfs/smbfs/helpers/lib/netmask.c         close (fd);
fd                344 src/vfs/smbfs/helpers/lib/netmask.c     close (fd);
fd                 54 src/vfs/smbfs/helpers/lib/system.c pollfd (int fd)
fd                 59 src/vfs/smbfs/helpers/lib/system.c     r = rdchk (fd);
fd                 61 src/vfs/smbfs/helpers/lib/system.c     (void) ioctl (fd, TCRDCHK, &r);
fd                 63 src/vfs/smbfs/helpers/lib/system.c     (void) ioctl (fd, FIONREAD, &r);
fd                120 src/vfs/smbfs/helpers/lib/system.c             pfdp->fd = i;
fd                138 src/vfs/smbfs/helpers/lib/system.c             FD_SET (pfd[i].fd, fds);
fd                969 src/vfs/smbfs/helpers/lib/util.c     int fd;
fd                978 src/vfs/smbfs/helpers/lib/util.c         fd = sys_open ("/dev/null", O_RDWR, 0);
fd                979 src/vfs/smbfs/helpers/lib/util.c         if (fd < 0)
fd                980 src/vfs/smbfs/helpers/lib/util.c             fd = sys_open ("/dev/null", O_WRONLY, 0);
fd                981 src/vfs/smbfs/helpers/lib/util.c         if (fd < 0)
fd                986 src/vfs/smbfs/helpers/lib/util.c         if (fd != i)
fd               1002 src/vfs/smbfs/helpers/lib/util.c set_blocking (int fd, BOOL set)
fd               1015 src/vfs/smbfs/helpers/lib/util.c     if ((val = fcntl (fd, F_GETFL, 0)) == -1)
fd               1021 src/vfs/smbfs/helpers/lib/util.c     return fcntl (fd, F_SETFL, val);
fd               1728 src/vfs/smbfs/helpers/lib/util.c set_filelen (int fd, SMB_OFF_T len)
fd               1735 src/vfs/smbfs/helpers/lib/util.c     return sys_ftruncate (fd, len);
fd               1739 src/vfs/smbfs/helpers/lib/util.c     SMB_OFF_T currpos = sys_lseek (fd, (SMB_OFF_T) 0, SEEK_CUR);
fd               1747 src/vfs/smbfs/helpers/lib/util.c     if (sys_fstat (fd, &st) < 0)
fd               1758 src/vfs/smbfs/helpers/lib/util.c         return sys_ftruncate (fd, len);
fd               1760 src/vfs/smbfs/helpers/lib/util.c     if (sys_lseek (fd, len - 1, SEEK_SET) != len - 1)
fd               1762 src/vfs/smbfs/helpers/lib/util.c     if (write (fd, &c, 1) != 1)
fd               1765 src/vfs/smbfs/helpers/lib/util.c     if (sys_lseek (fd, currpos, SEEK_SET) != currpos)
fd                 48 src/vfs/smbfs/helpers/lib/util_file.c do_file_lock (int fd, int waitsecs, int type)
fd                 63 src/vfs/smbfs/helpers/lib/util_file.c     ret = fcntl (fd, SMB_F_SETLKW, &lock);
fd                 81 src/vfs/smbfs/helpers/lib/util_file.c file_lock (int fd, int type, int secs, int *plock_depth)
fd                 83 src/vfs/smbfs/helpers/lib/util_file.c     if (fd < 0)
fd                 90 src/vfs/smbfs/helpers/lib/util_file.c         if (!do_file_lock (fd, secs, type))
fd                106 src/vfs/smbfs/helpers/lib/util_file.c file_unlock (int fd, int *plock_depth)
fd                111 src/vfs/smbfs/helpers/lib/util_file.c         ret = do_file_lock (fd, 5, F_UNLCK);
fd                 59 src/vfs/smbfs/helpers/lib/util_sock.c is_a_socket (int fd)
fd                 64 src/vfs/smbfs/helpers/lib/util_sock.c     return (getsockopt (fd, SOL_SOCKET, SO_TYPE, (char *) &v, &l) == 0);
fd                131 src/vfs/smbfs/helpers/lib/util_sock.c set_socket_options (int fd, char *options)
fd                163 src/vfs/smbfs/helpers/lib/util_sock.c             ret = setsockopt (fd, socket_options[i].level,
fd                173 src/vfs/smbfs/helpers/lib/util_sock.c                 ret = setsockopt (fd, socket_options[i].level,
fd                206 src/vfs/smbfs/helpers/lib/util_sock.c write_socket (int fd, char *buf, size_t len)
fd                212 src/vfs/smbfs/helpers/lib/util_sock.c     DEBUG (6, ("write_socket(%d,%d)\n", fd, (int) len));
fd                213 src/vfs/smbfs/helpers/lib/util_sock.c     ret = write_data (fd, buf, len);
fd                215 src/vfs/smbfs/helpers/lib/util_sock.c     DEBUG (6, ("write_socket(%d,%d) wrote %d\n", fd, (int) len, (int) ret));
fd                218 src/vfs/smbfs/helpers/lib/util_sock.c                    (int) len, fd, unix_error_string (errno)));
fd                227 src/vfs/smbfs/helpers/lib/util_sock.c read_udp_socket (int fd, char *buf, size_t len)
fd                236 src/vfs/smbfs/helpers/lib/util_sock.c     ret = (ssize_t) recvfrom (fd, buf, len, 0, (struct sockaddr *) &sock, &socklen);
fd                261 src/vfs/smbfs/helpers/lib/util_sock.c read_with_timeout (int fd, char *buf, size_t mincnt, size_t maxcnt, unsigned int time_out)
fd                284 src/vfs/smbfs/helpers/lib/util_sock.c             if (fd == sslFd)
fd                290 src/vfs/smbfs/helpers/lib/util_sock.c                 readret = read (fd, buf + nread, maxcnt - nread);
fd                293 src/vfs/smbfs/helpers/lib/util_sock.c             readret = read (fd, buf + nread, maxcnt - nread);
fd                327 src/vfs/smbfs/helpers/lib/util_sock.c         FD_SET (fd, &fds);
fd                329 src/vfs/smbfs/helpers/lib/util_sock.c         selrtn = sys_select (fd + 1, &fds, &timeout);
fd                351 src/vfs/smbfs/helpers/lib/util_sock.c         if (fd == sslFd)
fd                357 src/vfs/smbfs/helpers/lib/util_sock.c             readret = read (fd, buf + nread, maxcnt - nread);
fd                360 src/vfs/smbfs/helpers/lib/util_sock.c         readret = read (fd, buf + nread, maxcnt - nread);
fd                409 src/vfs/smbfs/helpers/lib/util_sock.c read_data (int fd, char *buffer, size_t N)
fd                419 src/vfs/smbfs/helpers/lib/util_sock.c         if (fd == sslFd)
fd                425 src/vfs/smbfs/helpers/lib/util_sock.c             ret = read (fd, buffer + total, N - total);
fd                428 src/vfs/smbfs/helpers/lib/util_sock.c         ret = read (fd, buffer + total, N - total);
fd                457 src/vfs/smbfs/helpers/lib/util_sock.c write_data (int fd, char *buffer, size_t N)
fd                465 src/vfs/smbfs/helpers/lib/util_sock.c         if (fd == sslFd)
fd                471 src/vfs/smbfs/helpers/lib/util_sock.c             ret = write (fd, buffer + total, N - total);
fd                474 src/vfs/smbfs/helpers/lib/util_sock.c         ret = write (fd, buffer + total, N - total);
fd                500 src/vfs/smbfs/helpers/lib/util_sock.c read_smb_length_return_keepalive (int fd, char *inbuf, unsigned int timeout)
fd                509 src/vfs/smbfs/helpers/lib/util_sock.c             ok = (read_with_timeout (fd, inbuf, 4, 4, timeout) == 4);
fd                511 src/vfs/smbfs/helpers/lib/util_sock.c             ok = (read_data (fd, inbuf, 4) == 4);
fd                536 src/vfs/smbfs/helpers/lib/util_sock.c read_smb_length (int fd, char *inbuf, unsigned int timeout)
fd                542 src/vfs/smbfs/helpers/lib/util_sock.c         len = read_smb_length_return_keepalive (fd, inbuf, timeout);
fd                565 src/vfs/smbfs/helpers/lib/util_sock.c receive_smb (int fd, char *buffer, unsigned int timeout)
fd                573 src/vfs/smbfs/helpers/lib/util_sock.c     len = read_smb_length_return_keepalive (fd, buffer, timeout);
fd                591 src/vfs/smbfs/helpers/lib/util_sock.c         ret = read_data (fd, buffer + 4, len);
fd                613 src/vfs/smbfs/helpers/lib/util_sock.c client_receive_smb (int fd, char *buffer, unsigned int timeout)
fd                619 src/vfs/smbfs/helpers/lib/util_sock.c         ret = receive_smb (fd, buffer, timeout);
fd                641 src/vfs/smbfs/helpers/lib/util_sock.c send_null_session_msg (int fd)
fd                651 src/vfs/smbfs/helpers/lib/util_sock.c         ret = write_socket (fd, buffer + nwritten, len - nwritten);
fd                671 src/vfs/smbfs/helpers/lib/util_sock.c send_smb (int fd, char *buffer)
fd                680 src/vfs/smbfs/helpers/lib/util_sock.c         ret = write_socket (fd, buffer + nwritten, len - nwritten);
fd                900 src/vfs/smbfs/helpers/lib/util_sock.c client_name (int fd)
fd                909 src/vfs/smbfs/helpers/lib/util_sock.c     if (global_client_name_done && last_fd == fd)
fd                912 src/vfs/smbfs/helpers/lib/util_sock.c     last_fd = fd;
fd                917 src/vfs/smbfs/helpers/lib/util_sock.c     if (fd == -1)
fd                922 src/vfs/smbfs/helpers/lib/util_sock.c     if (getpeername (fd, &sa, &length) < 0)
fd                931 src/vfs/smbfs/helpers/lib/util_sock.c         DEBUG (1, ("Gethostbyaddr failed for %s\n", client_addr (fd)));
fd                932 src/vfs/smbfs/helpers/lib/util_sock.c         StrnCpy (name_buf, client_addr (fd), sizeof (name_buf) - 1);
fd                939 src/vfs/smbfs/helpers/lib/util_sock.c             DEBUG (0, ("Matchname failed on %s %s\n", name_buf, client_addr (fd)));
fd                951 src/vfs/smbfs/helpers/lib/util_sock.c client_addr (int fd)
fd                959 src/vfs/smbfs/helpers/lib/util_sock.c     if (global_client_addr_done && fd == last_fd)
fd                962 src/vfs/smbfs/helpers/lib/util_sock.c     last_fd = fd;
fd                967 src/vfs/smbfs/helpers/lib/util_sock.c     if (fd == -1)
fd                972 src/vfs/smbfs/helpers/lib/util_sock.c     if (getpeername (fd, &sa, &length) < 0)
fd                 54 src/vfs/smbfs/helpers/libsmb/clientgen.c     return client_receive_smb (cli->fd, cli->inbuf, cli->timeout);
fd                 72 src/vfs/smbfs/helpers/libsmb/clientgen.c         ret = write_socket (cli->fd, cli->outbuf + nwritten, len - nwritten);
fd               1640 src/vfs/smbfs/helpers/libsmb/clientgen.c cli_getattrE (struct cli_state * cli, int fd,
fd               1652 src/vfs/smbfs/helpers/libsmb/clientgen.c     SSVAL (cli->outbuf, smb_vwv0, fd);
fd               2478 src/vfs/smbfs/helpers/libsmb/clientgen.c         cli->fd = open_socket_out (SOCK_STREAM, &cli->dest_ip, port, LONG_CONNECT_TIMEOUT);
fd               2479 src/vfs/smbfs/helpers/libsmb/clientgen.c         if (cli->fd == -1)
fd               2484 src/vfs/smbfs/helpers/libsmb/clientgen.c         set_socket_options (cli->fd, user_socket_options);
fd               2493 src/vfs/smbfs/helpers/libsmb/clientgen.c         if (!sslutil_fd_is_ssl (cli->fd))
fd               2495 src/vfs/smbfs/helpers/libsmb/clientgen.c             if (sslutil_connect (cli->fd) == 0)
fd               2538 src/vfs/smbfs/helpers/libsmb/clientgen.c     cli->fd = open_socket_out (SOCK_STREAM, &cli->dest_ip, cli->port, cli->timeout);
fd               2539 src/vfs/smbfs/helpers/libsmb/clientgen.c     if (cli->fd == -1)
fd               2568 src/vfs/smbfs/helpers/libsmb/clientgen.c     cli->fd = -1;
fd               2604 src/vfs/smbfs/helpers/libsmb/clientgen.c     if (cli->fd != -1)
fd               2605 src/vfs/smbfs/helpers/libsmb/clientgen.c         sslutil_disconnect (cli->fd);
fd               2607 src/vfs/smbfs/helpers/libsmb/clientgen.c     if (cli->fd != -1)
fd               2608 src/vfs/smbfs/helpers/libsmb/clientgen.c         close (cli->fd);
fd               2730 src/vfs/smbfs/helpers/libsmb/clientgen.c     set_socket_options (cli->fd, options);
fd               2757 src/vfs/smbfs/helpers/libsmb/clientgen.c     int oldfd = cli->fd;
fd               2759 src/vfs/smbfs/helpers/libsmb/clientgen.c     if (!cli->initialised || cli->fd == -1)
fd               2782 src/vfs/smbfs/helpers/libsmb/clientgen.c     cli->fd = -1;
fd               2788 src/vfs/smbfs/helpers/libsmb/clientgen.c         if (cli->fd != oldfd)
fd               2790 src/vfs/smbfs/helpers/libsmb/clientgen.c             if (dup2 (cli->fd, oldfd) == oldfd)
fd               2792 src/vfs/smbfs/helpers/libsmb/clientgen.c                 close (cli->fd);
fd               2820 src/vfs/smbfs/helpers/libsmb/clientgen.c     if (cli->fd == -1)
fd                 42 src/vfs/smbfs/helpers/libsmb/namequery.c name_query (int fd, const char *name, int name_type, BOOL bcast, BOOL recurse,
fd                 84 src/vfs/smbfs/helpers/libsmb/namequery.c     p.fd = fd;
fd                109 src/vfs/smbfs/helpers/libsmb/namequery.c         if ((p2 = receive_packet (fd, NMB_PACKET, 90)))
fd                700 src/vfs/smbfs/helpers/libsmb/nmblib.c read_packet (int fd, enum packet_type packet_type)
fd                709 src/vfs/smbfs/helpers/libsmb/nmblib.c     length = read_udp_socket (fd, buf, sizeof (buf));
fd                721 src/vfs/smbfs/helpers/libsmb/nmblib.c     packet->fd = fd;
fd                756 src/vfs/smbfs/helpers/libsmb/nmblib.c send_udp (int fd, char *buf, int len, struct in_addr ip, int port)
fd                769 src/vfs/smbfs/helpers/libsmb/nmblib.c     ret = (sendto (fd, buf, len, 0, (struct sockaddr *) &sock_out, sizeof (sock_out)) >= 0);
fd                957 src/vfs/smbfs/helpers/libsmb/nmblib.c     return (send_udp (p->fd, buf, len, p->ip, p->port));
fd                965 src/vfs/smbfs/helpers/libsmb/nmblib.c receive_packet (int fd, enum packet_type type, int t)
fd                971 src/vfs/smbfs/helpers/libsmb/nmblib.c     FD_SET (fd, &fds);
fd                975 src/vfs/smbfs/helpers/libsmb/nmblib.c     sys_select (fd + 1, &fds, &timeout);
fd                977 src/vfs/smbfs/helpers/libsmb/nmblib.c     if (FD_ISSET (fd, &fds))
fd                978 src/vfs/smbfs/helpers/libsmb/nmblib.c         return (read_packet (fd, type));
fd                720 src/vfs/smbfs/smbfs.c         ret = write_socket (cli->fd, cli->outbuf + nwritten, len - nwritten);
fd                778 src/vfs/smbfs/smbfs.c         client_receive_smb (cli->fd, cli->inbuf, cli->timeout);
fd                782 src/vfs/smbfs/smbfs.c     if (!client_receive_smb (cli->fd, cli->inbuf, cli->timeout))
fd               1162 src/vfs/smbfs/smbfs.c     int fd = open_socket_in (SOCK_DGRAM, 0, 3,
fd               1164 src/vfs/smbfs/smbfs.c     if (fd == -1)
fd               1166 src/vfs/smbfs/smbfs.c     set_socket_options (fd, so_broadcast);
fd               1169 src/vfs/smbfs/smbfs.c     if ((ip_list = name_query (fd, "\01\02__MSBROWSE__\02", 1, True,
fd                258 src/vfs/tar/tar.c     int fd;
fd                314 src/vfs/tar/tar.c     arch->fd = -1;
fd                329 src/vfs/tar/tar.c     if (arch->fd != -1)
fd                331 src/vfs/tar/tar.c         mc_close (arch->fd);
fd                332 src/vfs/tar/tar.c         arch->fd = -1;
fd                382 src/vfs/tar/tar.c     arch->fd = result;
fd                959 src/vfs/tar/tar.c     int fd = TAR_SUPER (VFS_FILE_HANDLER_SUPER (fh))->fd;
fd                962 src/vfs/tar/tar.c     if (mc_lseek (fd, begin + file->pos, SEEK_SET) != begin + file->pos)
fd                967 src/vfs/tar/tar.c     res = mc_read (fd, buffer, count);
fd                710 src/vfs/undelfs/undelfs.c     int fd;
fd                722 src/vfs/undelfs/undelfs.c     fd = open (file, O_RDONLY);
fd                723 src/vfs/undelfs/undelfs.c     if (fd == -1)
fd                730 src/vfs/undelfs/undelfs.c     close (fd);
fd                366 src/viewer/datasource.c mcview_set_datasource_file (WView * view, int fd, const struct stat *st)
fd                369 src/viewer/datasource.c     view->ds_file_fd = fd;
fd                411 src/viewer/datasource.c mcview_set_datasource_vfs_pipe (WView * view, int fd)
fd                413 src/viewer/datasource.c     g_assert (fd != -1);
fd                416 src/viewer/datasource.c     view->ds_vfs_pipe = fd;
fd                320 src/viewer/mcviewer.c         int fd;
fd                326 src/viewer/mcviewer.c         fd = mc_open (vpath, O_RDONLY | O_NONBLOCK);
fd                327 src/viewer/mcviewer.c         if (fd == -1)
fd                341 src/viewer/mcviewer.c         if (mc_fstat (fd, &st) == -1)
fd                343 src/viewer/mcviewer.c             mc_close (fd);
fd                357 src/viewer/mcviewer.c             mc_close (fd);
fd                367 src/viewer/mcviewer.c         if (st.st_size == 0 || mc_lseek (fd, 0, SEEK_SET) == -1)
fd                370 src/viewer/mcviewer.c             mcview_set_datasource_vfs_pipe (view, fd);
fd                378 src/viewer/mcviewer.c                 type = get_compression_type (fd, file);
fd                401 src/viewer/mcviewer.c                         mc_close (fd);
fd                402 src/viewer/mcviewer.c                         fd = fd1;
fd                403 src/viewer/mcviewer.c                         mc_fstat (fd, &st);
fd                408 src/viewer/mcviewer.c             mcview_set_datasource_file (view, fd, &st);
fd                 99 tests/lib/vfs/tempdir.c     int fd;
fd                102 tests/lib/vfs/tempdir.c     fd = mc_mkstemps (&pname_vpath, "mctest-", NULL);
fd                106 tests/lib/vfs/tempdir.c     close (fd);
fd                107 tests/lib/vfs/tempdir.c     mctest_assert_int_ne (fd, -1);