HP3000-L Archives

May 1999, 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:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Mon, 17 May 1999 11:44:59 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Stan Sieler writes:
> static struct pac16 {
>  char p[17];
>  } myvar16 ;

...deletia...

> myvar16 = pascalfunc16 (123);
> printf ("rslt 16 = %s\n", myvar16.p);

<NIT>
Does the C/Pascal calling interface implicitly terminate Pascal PACs with a
null that C expects as the end-of-string marker?  If not, you'll need to
manually set myvar16.p[17] to null.
</NIT>
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               Voice: +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2