1# 2#Copyright (c) 1990 The Regents of the University of California. 3#All rights reserved. 4# 5#Redistribution and use in source and binary forms are permitted 6#provided that the above copyright notice and this paragraph are 7#duplicated in all such forms and that any documentation, 8#and/or other materials related to such 9#distribution and use acknowledge that the software was developed 10#by the University of California, Berkeley. The name of the 11#University may not be used to endorse or promote products derived 12#from this software without specific prior written permission. 13#THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14#IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15#WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 16# 17@node Stdio64 18@chapter Large File Input and Output (@file{stdio.h}) 19 20This chapter comprises additional functions to manage large files which 21are potentially larger than 2GB. 22 23The underlying facilities for input and output depend on the host 24system, but these functions provide a uniform interface. 25 26The corresponding declarations are in @file{stdio.h}. 27 28@menu 29* fdopen64:: Turn open large file into a stream 30* fopen64:: Open a large file 31* freopen64:: Open a large file using an existing file descriptor 32* fsetpos64:: Restore position of a large stream or file 33* fgetpos64:: Get position of a large stream or file 34* ftello64:: Return position in a large stream or file 35* fseeko64:: Set large file position 36* tmpfile64:: Create a temporary large file 37@end menu 38 39@page 40@include stdio64/fdopen64.def 41 42@page 43@include stdio64/fopen64.def 44 45@page 46@include stdio64/freopen64.def 47 48@page 49@include stdio64/ftello64.def 50 51@page 52@include stdio64/fseeko64.def 53 54@page 55@include stdio64/fgetpos64.def 56 57@page 58@include stdio64/fsetpos64.def 59 60@page 61@include stdio64/tmpfile64.def 62 63