public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ulf Larsson" <ulfl@home.se>
To: linux-msdos@vger.kernel.org
Subject: Read named pipe (fifo) problem
Date: Thu, 05 Dec 2002 14:47:17 +0100	[thread overview]
Message-ID: <1039096037.3ceb1f80ulfl@home.se> (raw)

Hello

I want to create a connection between my DOS program
and a Linux server using fifo (named pipe). This works
fine when writing from DOS to Linux part. But when the
DOS program tries to read from the fifo it get hunged
in the read function (because no data). How can I get
the read to return with 0 return if no data present ?

Have been using Linux DOS emulator 1.0.2.1 and
FreeDOS kernel 1.1.24c (Dos program compiled with
Borland BC3.1).

Linux to linux program communication with fifo is 
working fine.

best regards Ulf Larsson





                 reply	other threads:[~2002-12-05 13:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1039096037.3ceb1f80ulfl@home.se \
    --to=ulfl@home.se \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox