1 #include <unistd.h> 2 #include <fcntl.h> 3 #include "syscall.h" 4 format(const char * dev,int sectors,int option)5 int format(const char *dev, int sectors, int option) 6 { 7 return syscall(SYS_format, dev, sectors, option); 8 } 9