|
|
1.1 ! root 1: #include <fcntl.h> ! 2: ! 3: int ! 4: dup2(a,b) ! 5: int a; ! 6: int b; ! 7: { ! 8: if (a==b) ! 9: return 0; ! 10: close(b); ! 11: return fcntl(a, F_DUPFD, b); ! 12: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.