public inbox for elix@sourceware.org
 help / color / mirror / Atom feed
* File system at level 1
@ 2000-04-27  6:14 Johan Rydberg
  2000-04-27  6:45 ` Nick Garnett
  0 siblings, 1 reply; 2+ messages in thread
From: Johan Rydberg @ 2000-04-27  6:14 UTC (permalink / raw)
  To: elix

Hi!

I have looked through the EL/IX Base API Specification (DRAFT, 
Version 1.1) and have some questions.

In section 4.6 you can read that functions like `flockfile'
must be present at level 1 (w/o option).  Shouldn't these 
function have file system option (i.e., only be present if
support for file system is)?  Other file system function has
atleast `f' as an option.

Regards,
Johan.


-- 
Johan Rydberg			johan.rydberg@netinsight.net
Net Insight AB, Sweden		direct: +46-8-685 04 17
http://www.netinsight.net	phone:  +46-8-685 04 00
				fax:    +46-8-685 04 20

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: File system at level 1
  2000-04-27  6:14 File system at level 1 Johan Rydberg
@ 2000-04-27  6:45 ` Nick Garnett
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Garnett @ 2000-04-27  6:45 UTC (permalink / raw)
  To: Johan Rydberg; +Cc: elix

Johan Rydberg <johan.rydberg@netinsight.se> writes:

> Hi!
> 
> I have looked through the EL/IX Base API Specification (DRAFT, 
> Version 1.1) and have some questions.
> 
> In section 4.6 you can read that functions like `flockfile'
> must be present at level 1 (w/o option).  Shouldn't these 
> function have file system option (i.e., only be present if
> support for file system is)?  Other file system function has
> atleast `f' as an option.
> 

These functions provide explicit application level locking of FILE
objects in multithread systems. They have nothing to do with file
locking accessible through fcntl().

Not all FILE objects are necessarily files in the filesystem,
they can be serial devices, TCP sockets or anything else. These
functions are actually quite independent of the underlying
implementation of the stream.


-- 
Nick Garnett
Cygnus Solutions, a Red Hat Company
Cambridge, UK

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-27  6:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-27  6:14 File system at level 1 Johan Rydberg
2000-04-27  6:45 ` Nick Garnett

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 read-only IMAP folder(s) and NNTP newsgroup(s).