From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fc52cce143238e40 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-02 07:38:58 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!avenir!walker From: walker@avenir.cerl.uiuc.edu (Michael W. Walker) Newsgroups: comp.unix.osf.osf1 Subject: Re: shm_open and shm_unlink Date: 2 Dec 1994 15:10:58 GMT Organization: University of Illinois at Urbana-Champaign Message-ID: <3bnde2$kcq@vixen.cso.uiuc.edu> References: NNTP-Posting-Host: avenir.cerl.uiuc.edu In article , Anthony 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.