lkml.org 
[lkml]   [2005]   [Jun]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [TTY] exclusive mode question

--- Frederik Deweerdt <dev.deweerdt@laposte.net> a écrit :
> Le 09/06/05 13:41 +0200, moreau francis écrivit:
> >
> > oh ok...sorry I misunderstood TIOEXCL meaning ;)
> > Do you know how I could implement such exclusive mode (the one I described)
> ?
> >
> This is handled through lock files, google for LCK..ttyS0
>

This lock mechanism is a convention but nothing prevent a user application to
issue a "echo foo > /dev/ttyS0" command while "LCK..ttyS0" file exists...
Francis





___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-06-09 16:27    [from the cache]
©2003-2011 Jasper Spaans