HP3000-L Archives

September 1996, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Richard Trapp RAT <[log in to unmask]>
Reply To:
Richard Trapp RAT <[log in to unmask]>
Date:
Wed, 18 Sep 1996 13:51:00 PDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Earlier I wrote:
 
>1) Any body know of a way to  write an HP C (non  posix) CGI program?
>
> I keep getting errors on opening STDIN and STDOUT.
>I've tried using "callci progname" and "/MACCT/PUB/PROG" with
>no luck getting the STDIN files to match up with httpd.
>
 
I was able to get around this one by linking my program as a posix program:
 
:link from=hellocgi.o;to=./HELLOCGI;RL=/lib/libc.a;cap=ph;posix;share
 
This program runs from the CI and from the posix shell and it works as a CGI
program.
 
My next question is:  Are there any drawbacks to linking this way and
running it from CI?
 
Still ...
>Rich "guess what I'm working on this week" Trapp
>[log in to unmask]

ATOM RSS1 RSS2