diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2004-12-01 15:19:22 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2004-12-01 15:19:22 +0000 |
commit | b4c0e1cb44b13ab63986f59be0b18f419dd545f0 (patch) | |
tree | 00e77ceca87be7d0a39930d81d1307cc938284dc /man2/readdir.2 | |
parent | 122dff10a62a429f40504534c075c1881b54af9d (diff) |
Fixed headers listed in synopsis, after message from Vasya Pupkin
Diffstat (limited to 'man2/readdir.2')
-rw-r--r-- | man2/readdir.2 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/man2/readdir.2 b/man2/readdir.2 index 1a9b2b6c9..fafd2595a 100644 --- a/man2/readdir.2 +++ b/man2/readdir.2 @@ -23,14 +23,18 @@ .\" Written 11 June 1995 by Andries Brouwer <aeb@cwi.nl> .\" Modified 22 July 1995 by Michael Chastain <mec@duracef.shout.net>: .\" In 1.3.X, returns only one entry each time; return value is different. +.\" Modified 2004-12-01, mtk, fixed headers listed in SYNOPSIS +.\" .TH READDIR 2 1995-07-22 "Linux 1.3.6" "Linux Programmer's Manual" .SH NAME readdir \- read directory entry .SH SYNOPSIS .nf -.B #include <unistd.h> + +.B #include <linux/types.h> .B #include <linux/dirent.h> .B #include <linux/unistd.h> +.B #include <errno.h> .sp .B _syscall3(int, readdir, uint, fd, struct dirent *, dirp, uint, count); .sp |