mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
bc9fd74c80
svn merge --accept=postpone -r 12123:12373 ../../mysql.branches/2.0.0/tokudb/ git-svn-id: file:///svn/toku/tokudb@12375 c7de825b-a66e-492c-adef-691d508d4ae1
17 lines
363 B
C
17 lines
363 B
C
#include <test.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <unistd.h>
|
|
#include <errno.h>
|
|
#include <fcntl.h>
|
|
|
|
int test_main(int argc, char *argv[]) {
|
|
int i;
|
|
for (i=1; i<argc; i++) {
|
|
int fd = open(argv[i], O_RDONLY);
|
|
printf("%s: %d %d\n", argv[i], fd, errno);
|
|
if (fd >= 0) close(fd);
|
|
}
|
|
return 0;
|
|
}
|