|
|
1.1 ! root 1: ! 2: ! 3: dup() COHERENT System Call dup() ! 4: ! 5: ! 6: ! 7: ! 8: Duplicate a file descriptor ! 9: ! 10: iinntt dduupp(_f_d) iinntt _f_d; ! 11: ! 12: dup duplicates the existing file descriptor fd, and returns the ! 13: new descriptor. The returned value is the smallest file descrip- ! 14: tor that is not already in use by the calling process. ! 15: ! 16: ***** See Also ***** ! 17: ! 18: COHERENT system calls, dup2(), fopen(), fdopen(), STDIO ! 19: ! 20: ***** Diagnostics ***** ! 21: ! 22: dup returns a number less than zero when an error occurs, such as ! 23: a bad file descriptor or no file descriptor available. ! 24: ! 25: ! 26: ! 27: ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.