Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 15 of 15) sorted by relevance

/manual/examples/
A Dofdlocks.c33 int i, fd, len; in thread_start() local
42 fd = open ("/tmp/foo", O_RDWR | O_CREAT, 0666); in thread_start()
47 fcntl (fd, F_OFD_SETLKW, &lck); in thread_start()
49 len = sprintf (buf, "%d: tid=%ld fd=%d\n", i, tid, fd); in thread_start()
51 lseek (fd, 0, SEEK_END); in thread_start()
52 write (fd, buf, len); in thread_start()
53 fsync (fd); in thread_start()
56 fcntl (fd, F_OFD_SETLK, &lck); in thread_start()
/manual/
A Dfilesys.texi409 @deftypefun {DIR *} fdopendir (int @var{fd})
849 directory entry data from the file descriptor @var{fd} and stores it
853 buffer. This number is zero if @var{fd} is already at the end of the
2949 @c to utimes on a /proc/self/fd symlink.
3060 @deftypefun int ftruncate (int @var{fd}, off_t @var{length})
3094 @var{fd} does not correspond to an open file.
3097 @var{fd} is a directory or not open for writing.
3118 @c sure how such an fd could be created. Perhaps it's a bug.
3142 int fd;
3155 if (ftruncate (fd, ns) < 0)
[all …]
A Ddebug.texi107 @deftypefun void backtrace_symbols_fd (void *const *@var{buffer}, int @var{size}, int @var{fd})
117 @var{fd}, one per line. It does not use the @code{malloc} function, and
A Dintro.texi672 @code{@mtasurace{:tcattr(fd)}}, where @var{fd} is a file descriptor for
778 @item @code{fd}
779 @cindex fd
781 Functions annotated with @code{fd} as an AC-Safety issue may leak file
873 @var{arg}, or @code{:tcattr(fd)} to denote the terminal attributes of a
874 file descriptor @var{fd}.
A Dmacros.texi197 fd\comments\
A Dllio.texi1215 @deftypefun ssize_t preadv (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off_t @v…
1239 @deftypefun ssize_t preadv64 (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off64_…
1260 @deftypefun ssize_t pwritev (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off_t @…
1288 @deftypefun ssize_t pwritev64 (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off64…
1309 @deftypefun ssize_t preadv2 (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off_t @…
1328 @var{fd} must be opened using @code{O_DIRECT}.
1365 @deftypefun ssize_t preadv64v2 (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off6…
1385 @deftypefun ssize_t pwritev2 (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off_t …
1409 @deftypefun ssize_t pwritev64v2 (int @var{fd}, const struct iovec *@var{iov}, int @var{iovcnt}, off…
3145 @c After fcntl to check the fd is open, hold aio_requests_mutex, call
A Dprocess.texi418 @deftypefun int fexecve (int @var{fd}, char *const @var{argv}@t{[]}, char *const @var{env}@t{[]})
422 executable by its pathname, the file descriptor @var{fd} is used. The
A Dio.texi106 @c !!! glibc has dprintf, which lets you do printf on an fd.
A Dcharset.texi1887 file2wcs (int fd, const char *charset, wchar_t *outbuf, size_t avail)
1918 nread = read (fd, inbuf + insize, sizeof (inbuf) - insize);
1924 if (lseek (fd, -insize, SEEK_CUR) == -1)
1953 lseek (fd, -insize, SEEK_CUR);
A Dterminal.texi1801 @c whereas the TCI actions first call tcgetattr and then write to the fd
1957 @c a devfs, and returns the fd; static variables devpts_mounted and
A Derrno.texi1192 @c oriented yet, create a new stream with a dup of stderr's fd and write
A Dconf.texi277 @c to collect system details, using fd and stream I/O depending on the
A Dsocket.texi491 @c It opens a socket to use ioctl on the fd to get the index.
505 @c It opens a socket with opensock to use ioctl on the fd to get the
A Dtime.texi1180 @c and avoid the heap, mem and fd issues in gmtime* in subsequent calls,
A Dtexinfo.tex10117 \gdefchar^^fd{\'y}
10237 \gdefchar^^fd{\'y}

Completed in 863 milliseconds