icon
Search ! Aware:



     ! Aware > Perl > File System Access > File Access >

File Access

Operations affecting a file as a whole. (delete files, rename, truncate, etc.)
- Q&A - Info - Libs & Functions - Other Resources - Related Subjects -
Personalized Selections
Platform: Unix/BSD/Linux. MS-DOS.
License: Open-source. GPL or LGPL.
Prog.Language: Perl. C/C++. PHP.
Maturity: Stable.
Pre-Selections

Use our system: Bring Rapid Knowledge Transfer and Awareness to your company website!


Home
  By TONY
  By MARK
  By JERRY
  By ANN
  By ERICA

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    
Related Subjects (Perl)

This topic, "File Access", describes operations which work with entire files. Functions which read and write the contents of files are described at Stdio Stream file operations - Buffered access of files and devices. fopen, fputc, fgetc, et al.

Low level file and device operations Unbuffered access of files and devices. (ioctl, fcntl, /dev, et al)

File filtering and processing Methods of filtering and processing files. (character translation, comparison, search, sort, word counts, etc.)

See also: File Information - Obtaining file information (status, configuration, et al)

See also: Directory Access - Accessing directories of files, browsing, management, et al.

See also: File Access Limits - Limiting access to files (permissions, locking, et al)

See also: File System Information - Obtaining information of the filesystem as a whole. Status of disk subsystems, capacity, etc.

Up to File System Access - Gateway topic to file system (files and directory) access and operations.

(There may be additional related subject pages listed here)


Information and Publications: Showing

(Perl delta 5.003 to 5.004) Internal change: FileHandle class based on IO::* classes

(Perl delta 5.003 to 5.004) Internal change: PerlIO abstraction interface

(Perl delta 5.003 to 5.004) sysseek()

(Perl delta 5.003 to 5.004) PRINT this, LIST

(Perl delta 5.003 to 5.004) PRINTF this, LIST

(Perl delta 5.003 to 5.004) READ this LIST

(Perl delta 5.003 to 5.004) READLINE this

(Perl delta 5.003 to 5.004) GETC this

(Perl delta 5.003 to 5.004) DESTROY this

(Perl delta 5.003 to 5.004) Fcntl

(Perl delta 5.003 to 5.004) IO No qualified books.


Questions and Answers: Showing
Q & A
++Showing+-
For Perl
+Partial-
For Programmers
+-Hiding all--
from comp.lang.c
From MS-DOS programming FAQ

How do I flush/unbuffer a filehandle? Why must I do this?

Perl FAQ

How do I change one line in a file/delete a line in a file/insert a line in the middle of a file/append to the beginning of a file?

Perl FAQ

How do I make a temporary file name?

Perl FAQ

How can I open a file with a leading ">" or trailing blanks?

Perl FAQ

How do I do a

Perl FAQ

How do I dup() a filehandle in Perl?

Perl FAQ

How do I close a file descriptor by number?

Perl FAQ

Why does Perl let me delete read-only files? Why does

Perl FAQ

Where do I get the include files to do ioctl() or syscall()?

Perl FAQ

Why can't my script read from STDIN after I gave it EOF (^D on Unix, ^Z on MS-DOS)?

Perl FAQ

How do I open a file without blocking?

Perl FAQ

See Also

Full List of Questions and Answers

Libraries and Components: Showing
Libs and Functions
++Showing+-
From CPAN
BSD ports
For Perl
in Perl
+Partial-
For Unix/BSD/Linux
Open Source
+-Hiding all--
For MS-DOS
man pages
Snippets
in C/C++
in PHP

(Perl builtin function) binmode FILEHANDLE Arranges for the file to be read or written in ``binary'' mode

(Perl builtin function) close FILEHANDLE Closes the file or pipe associated with the file handle.

(Perl builtin function) eof FILEHANDLE Returns 1 if the next read on FILEHANDLE will return end of file, or if FILEHANDLE is not open.

(Perl builtin function) fcntl FILEHANDLE,FUNCTION,SCALAR Implements the fcntl(2) function.

(Perl builtin function) fileno FILEHANDLE Returns the file descriptor for a filehandle.

(Perl builtin function) getc FILEHANDLE Returns the next character from the input file

(Perl builtin function) ioctl FILEHANDLE,FUNCTION,SCALAR Implements the ioctl(2) function.

(Perl builtin function) open FILEHANDLE,EXPR Opens the file whose filename is given by EXPR.

(Perl builtin function) read FILEHANDLE,SCALAR,LENGTH,OFFSET Attempts to read LENGTH bytes of data

(Perl builtin function) seek FILEHANDLE,POSITION,WHENCE Sets FILEHANDLE's position

(Perl builtin function) select FILEHANDLE Returns the currently selected filehandle.

(Perl builtin function) symlink OLDFILE,NEWFILE Creates a new filename symbolically linked to the old filename.

(Perl builtin function) sysopen FILEHANDLE,FILENAME,MODE Opens the file

(Perl builtin function) sysread FILEHANDLE,SCALAR,LENGTH,OFFSET Attempts to read LENGTH bytes of data

(Perl builtin function) sysseek FILEHANDLE,POSITION,WHENCE Sets FILEHANDLE's system position using the system call lseek(2).

(Perl builtin function) syswrite FILEHANDLE,SCALAR,LENGTH,OFFSET Attempts to write LENGTH bytes of data

(Perl builtin function) truncate FILEHANDLE,LENGTH Truncates the file

(Perl builtin function) unlink LIST Deletes a list of files. Returns the number of files successfully deleted.

(Perl builtin function) write FILEHANDLE Writes a formatted record (possibly multi-line) to the specified file

(Perl operators) I/O Operators

p5-File-Sync-0.09 Perl5 module interface to the UNIX sync(2) and POSIX.1b fsync(2)

At FreeBSD Ports
File::Sync - Implements fsync() and sync(), which make sure that your computer and its disks are...in sync.

perl5 module for single call read & write file routines. p5-File-Slurp-98.071901 Perl5 module for single call read & write file routines

At FreeBSD Ports
File::Slurp - reads and writes files with single commands.

perl5 module for several file operations: Copy, Recurse and Tools. p5-File-Tools-2.0 Perl5 module for several file operations: Copy, Recurse and Tools

At FreeBSD Ports
File::Tools - A wrapper around the File::Copy and File::Recurse module.

File::Copy - Lets you copy files within Perl, by either names or filehandles. Now part of the File::Tools module. [Perl] {oss}

At CPAN

Other Libraries, Functions, and Components

Full List

Detailed Filter and Focus Checklist

Default Selections
- man pages - Open Source
Information: All
Questions and Answers: All
Add+Showing+Hide
For Perl
AddPartialHide
For Programmers
Add-Hiding all-Hide
from comp.lang.c
From MS-DOS programming FAQ

Applications and Utilities: All
Add-Hiding all-Hide
man pages
For Unix/BSD/Linux
Open Source
GPL licensed

Libraries, Functions, and Components: All
Add+Showing+Hide
BSD ports
For Perl
in Perl
AddPartialHide
For Unix/BSD/Linux
Open Source
Add-Hiding all-Hide
For MS-DOS
man pages
Snippets
in C/C++
in PHP



Rapid-Links: Search | About | Comments | Submit Path: RocketAware > File System Access > File Access >
RocketAware.com is a service of Mib Software
Copyright 2001, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments