version_2.c | version_2.c | |||
---|---|---|---|---|
/* Open a Standards Version 2 conformant dirfile */ | /* Open a Standards Version 2 conformant dirfile */ | |||
#include "test.h" | #include "test.h" | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <sys/types.h> | #include <sys/types.h> | |||
#include <stdio.h> | #include <stdio.h> | |||
#include <sys/stat.h> | #include <sys/stat.h> | |||
#include <fcntl.h> | #include <fcntl.h> | |||
#include <string.h> | #include <string.h> | |||
#include <errno.h> | #include <errno.h> | |||
#include <unistd.h> | ||||
int main(void) | int main(void) | |||
{ | { | |||
const char* filedir = __TEST__ "dirfile"; | const char* filedir = __TEST__ "dirfile"; | |||
const char* format = __TEST__ "dirfile/format"; | const char* format = __TEST__ "dirfile/format"; | |||
const char* data = __TEST__ "dirfile/INCLUDE"; | const char* data = __TEST__ "dirfile/INCLUDE"; | |||
const char* format_data = | const char* format_data = | |||
"INCLUDE RAW c 8\n" | "INCLUDE RAW c 8\n" | |||
"a&b RAW c 8\n" | "a&b RAW c 8\n" | |||
"m MULTIPLY INCLUDE INCLUDE\n"; | "m MULTIPLY INCLUDE INCLUDE\n"; | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |