|
I wrote (well copied from someone else) a little C program that does this:
int
main (int argc, char *argv[])
{
FILE *infile;
char buffer[LEN_BUF + 1];
int len = LEN_BUF; infile = fopen ("/home/james/test.ps", "rb");
len = fread (buffer, sizeof (char), LEN_BUF, infile);
fclose (infile);
return 0;
}read(): Operation not supported.
from perror. How can I read a file in C that I opened in RPG?
James Rich
It's not the software that's free; it's you.
- billyskank on Groklaw
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.