comparison rvinterf/etmsync/fdcmd.c @ 291:69e8ae2b5ba2

fc-fsio: fwrite implementation started
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 01 Mar 2014 02:36:25 +0000
parents 146e7bf3fa4e
children
comparison
equal deleted inserted replaced
290:76228aecf0d9 291:69e8ae2b5ba2
19 cmd_fd_open(argc, argv) 19 cmd_fd_open(argc, argv)
20 char **argv; 20 char **argv;
21 { 21 {
22 int rc, fd; 22 int rc, fd;
23 23
24 rc = fd_open(argv[1], strtoul(argv[2], 0, 0), &fd); 24 rc = fd_open(argv[1], strtoul(argv[2], 0, 16), &fd);
25 if (rc) 25 if (rc)
26 return(rc); 26 return(rc);
27 printf("%d\n", fd); 27 printf("%d\n", fd);
28 return(0); 28 return(0);
29 } 29 }