518 |
printf("opening: %s\n",filename.c_str()); |
518 |
printf("opening: %s\n",filename.c_str()); |
520 |
int fd=open(filename.c_str(),!isDevice ? O_RDWR|O_CREAT|O_TRUNC : O_WRONLY); |
520 |
int fd=open(filename.c_str(),!isDevice ? O_RDWR|O_CREAT|O_TRUNC : O_WRONLY, 0777); |