Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* shm_open and shm_unlink
@ 1994-12-02  6:54 Anthony
  1994-12-02 15:10 ` Michael W. Walker
  1994-12-02 18:34 ` Vikas Sontakke
  0 siblings, 2 replies; 3+ messages in thread
From: Anthony @ 1994-12-02  6:54 UTC (permalink / raw)


Dear all,

I wonder if anyone can tell me how I can use the two shared
memory function.

shm_open and shm_unlink.

I tried compiling a C program with them but I the linker
can't resolve them.  Is there a particular library that I
am meant to use ?

Thank you

Anthony Lee				These are my opinions and not SEQEB.
SEQEB					
150 Charlotte Street			
Brisbane
Qld 4000
Australia
voice:+61 7 223 4541
fax:  +61 7 221 7556
email: AL012@svtstu.seqeb.gov.au


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: shm_open and shm_unlink
  1994-12-02  6:54 shm_open and shm_unlink Anthony
@ 1994-12-02 15:10 ` Michael W. Walker
  1994-12-02 18:34 ` Vikas Sontakke
  1 sibling, 0 replies; 3+ messages in thread
From: Michael W. Walker @ 1994-12-02 15:10 UTC (permalink / raw)


In article <D068Iv.BI8@un.seqeb.gov.au>,
Anthony <al012@svtstu.seqeb.gov.au> wrote:
>
>I wonder if anyone can tell me how I can use the two shared
>memory function.
>
>shm_open and shm_unlink.
>
>I tried compiling a C program with them but I the linker
>can't resolve them.  Is there a particular library that I
>am meant to use ?
>
Add -lrt to the cc command.  It would be really nice if the man pages listed
the library needed to use a function as well as the header file(s) required.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: shm_open and shm_unlink
  1994-12-02  6:54 shm_open and shm_unlink Anthony
  1994-12-02 15:10 ` Michael W. Walker
@ 1994-12-02 18:34 ` Vikas Sontakke
  1 sibling, 0 replies; 3+ messages in thread
From: Vikas Sontakke @ 1994-12-02 18:34 UTC (permalink / raw)


Anthony (al012@svtstu.seqeb.gov.au) wrote:
: Dear all,

: I wonder if anyone can tell me how I can use the two shared
: memory function.

: shm_open and shm_unlink.

: I tried compiling a C program with them but I the linker
: can't resolve them.  Is there a particular library that I
: am meant to use ?

Realtime Library subset, try adding -lrt switch.

--
Vikas Sontakke				sontakke@helix.enet.dec.com



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1994-12-02 18:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-02  6:54 shm_open and shm_unlink Anthony
1994-12-02 15:10 ` Michael W. Walker
1994-12-02 18:34 ` Vikas Sontakke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox