#include "csapp.h" int main () { int fd1, fd2; fd1 = Open("foo. txt", 0_ RDONLY, 0); fd2 = Open("bar.txt", 0_.RDONLY, 0); Close(fd2); fd2 = Open("baz. txt", 0_RDONLY, 0); printf("fd2 = %d\n", fd2); exit(0) ; }
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题