QlgOpen64()--Open File (large file enabled and using NLS-enabled path name)
Syntax
#include <fcntl.h> int QlgOpen64(Qlg_Path_Name_T *path, int oflag, . . .);Service Program Name: QP0LLIB1
Default Public Authority: *USE
Threadsafe: Conditional; see Usage Notes for open().
The QlgOpen64() function, like the open64() and open() functions, opens a file and returns a number called a file descriptor. QlgOpen64() differs from open64() in that the QlgOpen64() function takes a pointer to a Qlg_Path_Name_T structure, while open64() takes a pointer to a character string. QlgOpen64() differs from open() in that it automatically opens a file with the O_LARGEFILE flag set.
Limited information on the path parameter is provided here. For more information on the path parameter and for a discussion of other parameters, authorities required, return values, and related information, see open()--Open a File or open64()--Open File (Large File Enabled).
Parameters
- path
- (Input) A pointer to a Qlg_Path_Name_T structure that contains a path name or a pointer to a path name of the file to be opened. For more information on the Qlg_Path_Name_T structure, see Path name format.
Related Information
- open()--Open a File
- open64()--Open File (Large File Enabled)
- QlgCreat()--Create or Rewrite File (using
NLS-enabled path name)
- QlgStat()--Get File Information (using NLS-enabled path name)
API introduced: V5R1