--- /dev/null
+#include <stdio.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <fcntl.h>
+
+#define MAX_C 20
+
+int main(int argc,char *argv[]) {
+ int file_fd,c,i;
+ char my_buf[MAX_C+1];
+
+ file_fd=open(argv[1],O_RDONLY);
+ if(file_fd>0)
+ c=read(file_fd,my_buf,MAX_C);
+ for(i=0;i<MAX_C;i++) printf("%x ",my_buf[i]);
+ return 0;
+}
+
+