16 lines
310 B
C
16 lines
310 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
|
|
#define SZBUF 256
|
|
|
|
int main(int argc, char const *argv[]){
|
|
char buf[SZBUF];
|
|
int fd,n,m;
|
|
if (argc<4){
|
|
fprintf(stderr,"Usage : %s <file_name> <32-bit int in Hex> <Offset in Hex> \r",argv[0]);
|
|
exit (1);
|
|
}
|
|
} |