The questions is very general. Let's look into these possibilities:
1. QSAM (sequential) file. You can run it thru SORT utility adding SEQNUM and then sort t...
Jar file allows to efficiently deploying a set of classes and their associated resources. The elements in a jar file are compressed, which makes downloading a J...
Every file has following attributes:
owner's user ID ( 16 bit integer )
owner's group ID ( 16 bit integer )
File access mode word
'r w x -r w x- r w x'
(us...
Functions read() and write() are used for reading and writing blocks of binary data to a file. Their prototypes are
istream &read(unsigned char *buf, int num...
I/O operations like reading or writing a file is not possible with client-side javascript.
However , this can be done by coding a Java applet that reads files...
Use peekb( ) function. This function returns byte(s) read from specific segment and offset locations in memory. The following program illustrates use of this fu...
FIFO are otherwise called as 'named pipes'. FIFO (first-in-first-out) is a special file which is said to be data transient. Once data is read from named pipe, i...
open(pathname,flag,mode) - open file
creat(pathname,mode) - create file
close(filedes) - close an open file
read(filedes,buffer,bytes) - read data from...