Article View: comp.os.os2.programmer
Article #3164Re: Named pipes in OS/2
From: Mark E. Mallett
Date: Tue, 28 May 1991 07:38
Date: Tue, 28 May 1991 07:38
35 lines
1851 bytes
1851 bytes
In article <2765@umriscc.isc.umr.edu> jyothi@ee.umr.edu (Jyothi Nagaraj) writes:
>
> I am working on a program written in MS C 6.0 for OS/2 environment
>which uses named pipes. It is a demo profram called "npserver.c".
>I am trying to add on some stuff to the program and recompile it.
>But, I am not able to recompile it since it says it cannot find the
>"include" file "<mt\string.h>".
Last I knew, you could get all the definitions you need by defining
the appropriate constants before including os2.h; e.g., to get
basic OS definitions (including named pipe stuff), do:
#include <stdio.h>
#include <string.h>
#define INCL_BASE
#include <os2.h>
>Also, any good suggestions as far as material on Named Pipes goes
>is welcome.
My program, 'timex', contains a server and client that communicate via
named pipe. The server implements a cron-like function, and the
client provides a PM interface to it. The program was written
specifically as an example -- a working one, mind you -- of various
OS/2 facilities. Available on request.
-mm-
--
Mark E. Mallett Zinn Computer Co/ PO Box 4188/ Manchester NH/ 03103
Bus. Phone: 603 645 5069 Home: 603 424 8129 BIX: mmallett
uucp: mem@zinn.MV.COM ( ...{decvax|elrond|harvard}!zinn!mem )
Northern MA and Southern NH consultants: Ask (in mail!) about MV.COM
Technical Details
Message-ID:
<1351@zinn.MV.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!zinn!memReferences:
<2765@umriscc.isc.umr.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!zinn!mem From: mem@zinn.MV.COM (Mark E. Mallett) Newsgroups: comp.os.os2.programmer Subject: Re: Named pipes in OS/2 Message-ID: <1351@zinn.MV.COM> Date: 28 May 91 07:38:02 GMT References: <2765@umriscc.isc.umr.edu> Sender: news@ditka.Chicago.COM (Pulitzer at ditka) Organization: Zinn Computer Co., Litchfield NH Lines: 35