From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,927ee00da5679463 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-02-28 11:52:16 PST Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!howland.reston.ans.net!sol.ctr.columbia.edu!news.cs.columbia.edu!news.cs.columbia.edu!sameer From: sameer@news.cs.columbia.edu (Sameer A. Nene) Newsgroups: comp.sys.dec Subject: Re: DEC OSF/1 C++/C interface problems Date: 28 Feb 1994 19:52:16 GMT Organization: Columbia University Department of Computer Science Distribution: world Message-ID: <2kti1g$l9q@cs.columbia.edu> References: <1994Feb28.130338.2742@hsacsd.signaal.nl> NNTP-Posting-Host: harp.cs.columbia.edu In article <1994Feb28.130338.2742@hsacsd.signaal.nl>, jacobs@hsacsd.signaal.nl (Willy Jacobs) writes: > > In our C++ programs we use calls to several UNIX/C functions, e.g. > connect(), socket(), select(), ftime(), bzero(). > > We include the appropiate include files, such as sys/types.h, > sys/socket.h via extern "C" { ... }, but unfortunaly the > function declarations (prototypes) for the functions mentioned > before are not present in these include files! > > Is this a bug/omission in the C++ compiler, or are they declared > somewhere else? > > Environment used: > OS: DEC OSF/1 V1.2 rev. 10 > DEC C++ (cxx): DEC OSF/1 AXP compiler driver 3.11 > We are having a similar problem with shmget(). It doesn't seem to be declared in sys/shm.h, though the other shm*() calls are correctly declared. My environment is DEC OSF/1 V1.3A along with DEC C++ FT V1.30 Sameer.