OSDN Git Service

(split) Fixed #25191 (typo in fenv.3).
[linuxjm/LDP_man-pages.git] / release / man3 / getdirentries.3
1 .\" Hey Emacs! This file is -*- nroff -*- source.
2 .\"
3 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
4 .\" Portions extracted from /usr/include/dirent.h are:
5 .\"                    Copyright 1991, 1992 Free Software Foundation
6 .\"
7 .\" Permission is granted to make and distribute verbatim copies of this
8 .\" manual provided the copyright notice and this permission notice are
9 .\" preserved on all copies.
10 .\"
11 .\" Permission is granted to copy and distribute modified versions of this
12 .\" manual under the conditions for verbatim copying, provided that the
13 .\" entire resulting derived work is distributed under the terms of a
14 .\" permission notice identical to this one.
15 .\"
16 .\" Since the Linux kernel and libraries are constantly changing, this
17 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
18 .\" responsibility for errors or omissions, or for damages resulting from
19 .\" the use of the information contained herein.  The author(s) may not
20 .\" have taken the same level of care in the production of this manual,
21 .\" which is licensed free of charge, as they might when working
22 .\" professionally.
23 .\"
24 .\" Formatted or processed versions of this manual, if unaccompanied by
25 .\" the source, must acknowledge the copyright and authors of this work.
26 .\"
27 .\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
28 .\" Translated Thu Apr 30 1998 by NAKANO Takeo <nakano@apm.seikei.ac.jp>
29 .\"
30 .TH GETDIRENTRIES 3 2007-07-26 "GNU" "Linux Programmer's Manual"
31 .SH Ì¾Á°
32 getdirentries \- ¥Ç¥£¥ì¥¯¥È¥ê¤Î¥¨¥ó¥È¥ê¤ò¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ë°Í¸¤·¤Ê¤¤·Á¼°¤Ç¼èÆÀ¤¹¤ë
33 .SH ½ñ¼°
34 .sp
35 .in -4n
36 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
37 .RB ( feature_test_macros (7)
38 »²¾È):
39 .in
40 .sp
41 .BR getdirentries ():
42 _BSD_SOURCE || _SVID_SOURCE
43 .B #include <dirent.h>
44 .sp
45 .BI "ssize_t getdirentries(int " fd ", char *" buf ", size_t " nbytes
46 .BI ", off_t *" basep );
47 .SH ÀâÌÀ
48 .I fd
49 ¤Ç»ØÄꤵ¤ì¤¿¥Ç¥£¥ì¥¯¥È¥ê¤«¤é¥¨¥ó¥È¥ê¤òÆɤߡ¢
50 .I buf
51 ¤Ë³ÊǼ¤¹¤ë¡£ºÇÂç¤Ç
52 .I nbytes
53 ¤¬Æɤ߹þ¤Þ¤ì¤ë¡£Æɤ߹þ¤ß¤Ï¥ª¥Õ¥»¥Ã¥È
54 .I *basep
55 ¤«¤é³«»Ï¤µ¤ì¡¢Æɤ߹þ¤ß½ªÎ»»þ¤Ë¤Ï
56 .I *basep
57 ¤Ï¿·¤·¤¤°ÌÃ֤˹¹¿·¤µ¤ì¤ë¡£
58 .SH ÊÖ¤êÃÍ
59 .BR getdirentries ()
60 ¤ÏÆɤ߹þ¤ó¤À¥Ð¥¤¥È¿ô¤òÊÖ¤¹¤«¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ÎºÇ¸å¤Ë¤­¤¿¾ì¹ç¤Ï 0 ¤òÊÖ¤¹¡£
61 ¥¨¥é¡¼¤¬µ¯¤³¤Ã¤¿¤é \-1 ¤òÊÖ¤·¡¢
62 .I errno
63 ¤ò¥¨¥é¡¼¤ËÂбþ¤¹¤ëÃͤ˥»¥Ã¥È¤¹¤ë¡£
64 .SH ¥¨¥é¡¼
65 ¾ÜºÙ¤Ï Linux ¤Î¥é¥¤¥Ö¥é¥ê¥½¡¼¥¹¥³¡¼¥É¤òÆɤó¤Ç¤Û¤·¤¤¡£
66 .SH ½àµò
67 POSIX.1-2001 ¤Ë¤Ï¤Ê¤¤¡£
68 BSD ¤Ë¸ºß¤·¡¢Â¾¤Ë¤â¤¤¤¯¤Ä¤«¤Î¥·¥¹¥Æ¥à¤Ë¤â¤¢¤ë¡£
69 Âå¤ï¤ê¤Ë
70 .BR opendir (3)
71 ¤È
72 .BR readdir (3)
73 ¤ò»ÈÍѤ¹¤ë¤³¤È¡£
74 .SH ´ØÏ¢¹àÌÜ
75 .BR lseek (2),
76 .BR open (2)