blob: 6debeb4947ca9cf1650093c34ad2797a4bf47b07 [file] [log] [blame]
#include "tests.h"
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
int
main(void)
{
const int fd = -1;
int rc = dup(fd);
printf("dup(%d) = %d %s (%m)\n",
fd, rc,
errno2name());
puts("+++ exited with 0 +++");
return 0;
}