[comp.sys.sun] Lightweight process help?

gillies@noao.edu (Kim Gillies X246) (01/13/89)

I am a new Sun user so forgive me if this is the wrong place for this is
the wrong place for this question.  I have not been a reader of this
group.

I am attempting to become familiar with the lightweight process library
(LWP) and have not been able to successfully link the simple program (or
any program) on page 73 of the System Services Overview document.

The problem is that symbol REGOFFSET is undefined.  I have done what they
suggest:  cc -o foo foo.c -llwp, but no luck.

Does anybody know where REGOFFSET lives?  I am using a 3/50, OS4.0 and the
native compiler.  Please reply to me in private.  Thanks.

Kim Gillies, National Optical Astronomy Observatories, Tucson, AZ
Usenet:   {arizona,decvax,ncar}!noao!gillies or  uunet!noao.edu!gillies
Internet: gillies@noao.edu         SPAN/HEPNET:  draco::gillies
Phonenet: 6023259246