![]() |
C - Entwicklung Bibliotheks-Funktionen: Datei-Management Homepage von PS-Trainer - C-Entwicklung - Bibliotheken - an PS-Trainer |
|
| File Handling | routines to create, delete, and manipulate files and to set and check file-access permissions. |
| _creat, _wcreat | Creates a new file. |
| rename, _wrename | Rename file |
| _filelength, _filelengthi64 | Get the length of a file. |
| _access, _waccess | Determine file-access permission. |
| _fstat, _fstati64 | Get information about an open file. |
| _stat, _wstat, _stati64, _wstati64 | Get status information on a file. |
| remove, _wremove |
Delete file |
| _unlink, _wunlink | Delete file |
| File Handling Use these routines to create, delete, and manipulate files and to set and check file-access permissions. The C run-time libraries have a preset limit for the number of files that can be open at any one time. The limit for applications that link with the single-thread static library (LIBC.LIB) is 64 file handles or 20 file streams. Applications that link with either the static or dynamic multithread library (LIBCMT.LIB or MSVCRT.LIB and MSVCRT.DLL), have a limit of 256 file handles or 40 file streams. Attempting to open more than the maximum number of file handles or file streams causes program failure. |
||||||||||||||||||||||||||||
| The following routines operate on files designated by a file handle:
File-Handling Routines (File Handle)
|
||||||||||||||||||||||||||||
| The following routines operate on files specified by a path or filename: File-Handling Routines (Path or Filename)
|
| Aktuelle Daten dieser Seite | Letzte Änderung: |
| |