linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: joy <gracecott@sancharnet.in>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: various doubts ......
Date: Wed, 11 Aug 2004 08:21:55 +0530	[thread overview]
Message-ID: <411989CB.3000304@sancharnet.in> (raw)
In-Reply-To: <4117B259.1090500@sancharnet.in>

joy wrote:

> Hello,
> I  have a few , though unconnected doubts.
>
> 1) can a named pipe be locked using normal lockf()  or do I have to 
> perform some voodoo?
>
Yes it can! I tried it out with two processes trying to write to the 
pipe at the same time.One obtains the  lock
and sleep()s for 10 seconds during which the other process is blocked.

> 2) I need to transfer data (protocol not an issue, just raw data) from 
> a usb peripheral(not HDD)
>    to the host comp. can I do this without writing a usb driver 
> myself, i.e , using some generic or user-space driver (like ppdev)
>    the peripheral is a texas instruments tusb246b hub.
>
> Thanx in advance,
> Joy.M.Monteiro
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


      parent reply	other threads:[~2004-08-11  2:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-09 17:20 various doubts joy
2004-08-09 23:50 ` Luiz Fernando N. Capitulino
2004-08-11  2:51 ` joy [this message]

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=411989CB.3000304@sancharnet.in \
    --to=gracecott@sancharnet.in \
    --cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).