Files
rtems/testsuites/libtests/POSIX/getdents.c
T
2009-12-02 15:00:05 +00:00

19 lines
330 B
C

/*
* Copyright (c) 2009 by
* Ralf Corsépius, Ulm, Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
#include <dirent.h>
int
main (void)
{
int status;
int fd = 42;
status = getdents (fd, "/tmp/foo", 0);
}