Subject: | |
From: | |
Reply To: | |
Date: | Mon, 1 Jul 2002 20:53:27 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Mark Bixby wrote:
>Are you linking with MPE libc or POSIX libc?
>
>I definitely know this works with POSIX libc because I have
>seen it in various ports of mine. I have never tried to do
>it with MPE libc though.
I'm using LIBCSHR.LIB.SYS, LIBCANSI.LIB.SYS (plus a few others including
SOCKETRL.NET.SYS) all on MPE 7.0(Exp1). It's my understanding that the
POSIX routines only support bytestream files and this program needs to
access (and create) non-bytestream (actually Variable-ASCII "VA") files
and work smoothly from the CI in a jobstream.
P.S. I've already recoded the I/O to use sprintf() for formatting and
HPFOPEN(), FWRITE() and FCLOSE() intrinsics for accessing the file, so I
don't actually need an answer for this situation anymore. (But if
something comes along that lets me convert the couple of dozen printf()
calls from something like this:
sprintf(log_buff, "Send(%s) errno=%d", buff, errno);
mpe_FWRITE(log_fnum, log_buff, -strlen(log_buff), 0);
.... back to something like this:
printf(log_file, "Send(%s) errno=%d\n", buff, errno);
.... I'd be inclined to spend the time.)
Thanks.
--
Jeff Woods
[log in to unmask]
[log in to unmask]
Quintessential School Systems
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|