=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/dirent.h,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- src/include/dirent.h 2013/06/02 16:14:59 1.31 +++ src/include/dirent.h 2013/08/16 08:33:20 1.32 @@ -1,4 +1,4 @@ -/* $OpenBSD: dirent.h,v 1.31 2013/06/02 16:14:59 guenther Exp $ */ +/* $OpenBSD: dirent.h,v 1.32 2013/08/16 08:33:20 guenther Exp $ */ /* $NetBSD: dirent.h,v 1.9 1995/03/26 20:13:37 jtc Exp $ */ /*- @@ -48,7 +48,7 @@ /* * The kernel defines the format of directory entries returned by - * the getdirentries(2) system call. + * the getdents(2) system call. */ #include @@ -84,6 +84,8 @@ void rewinddir(DIR *); int closedir(DIR *); #if __BSD_VISIBLE +int getdents(int, void *, size_t) + __attribute__ ((__bounded__(__string__,2,3))); int getdirentries(int, char *, int, off_t *) __attribute__ ((__bounded__(__string__,2,3))); #endif /* __BSD_VISIBLE */