Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/getdirentries.2
Show All 26 Lines | |||||
.\" | .\" | ||||
.\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95 | .\" @(#)getdirentries.2 8.2 (Berkeley) 5/3/95 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 3, 1995 | .Dd May 3, 1995 | ||||
.Dt GETDIRENTRIES 2 | .Dt GETDIRENTRIES 2 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm getdirentries , | .Nm getdirentries , | ||||
ngie: Bump .Dd at commit time? | |||||
.Nm getdents | .Nm getdents | ||||
.Nd "get directory entries in a file system independent format" | .Nd "get directory entries in a file system independent format" | ||||
.Sh LIBRARY | .Sh LIBRARY | ||||
.Lb libc | .Lb libc | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/types.h | .In sys/types.h | ||||
.In dirent.h | .In dirent.h | ||||
.Ft int | .Ft ssize_t | ||||
.Fn getdirentries "int fd" "char *buf" "int nbytes" "long *basep" | .Fn getdirentries "int fd" "char *buf" "size_t nbytes" "off_t *basep" | ||||
.Ft int | .Ft ssize_t | ||||
.Fn getdents "int fd" "char *buf" "int nbytes" | .Fn getdents "int fd" "char *buf" "size_t nbytes" | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Fn getdirentries | .Fn getdirentries | ||||
and | and | ||||
.Fn getdents | .Fn getdents | ||||
system calls read directory entries from the directory | system calls read directory entries from the directory | ||||
referenced by the file descriptor | referenced by the file descriptor | ||||
.Fa fd | .Fa fd | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |
Bump .Dd at commit time?