Home
last modified time | relevance | path

Searched refs:ofd (Results 1 – 2 of 2) sorted by relevance

/board/samsung/smdkv310/tools/
A Dmksmdkv310spl.c36 int ifd, ofd; in main() local
51 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main()
52 if (ofd < 0) { in main()
71 if (ofd) in main()
72 close(ofd); in main()
82 if (write(ofd, buffer, BUFSIZE) != BUFSIZE) { in main()
88 if (ofd) in main()
89 close(ofd); in main()
96 if (ofd) in main()
97 close(ofd); in main()
/board/samsung/origen/tools/
A Dmkorigenspl.c38 int ifd, ofd; in main() local
53 ofd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, FILE_PERM); in main()
54 if (ofd < 0) { in main()
76 if (ofd) in main()
77 close(ofd); in main()
91 if (write(ofd, buffer, BUFSIZE) != BUFSIZE) { in main()
97 if (ofd) in main()
98 close(ofd); in main()
105 if (ofd) in main()
106 close(ofd); in main()

Completed in 10 milliseconds