lkml.org 
[lkml]   [2001]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: no ioctls for serial ports? [was Re: LANANA: To Pending Device Num
    Date
    On Sunday 20 May 2001 15:40, Alexander Viro wrote:
    > > ctlfd = open_device_control_fd(fd);
    > > If fd is something that doesn't have a control interface (say, it already
    > > is a control filehandle), this returns an appropriate error code.
    > It may have several. Which one?


    That's why I proposed using multi-stream files. With a syscall like

    fd2 = open_substream(fd, "somename")

    you could have several control streams and also be prepared if you want to
    support multi-stream filesystems like NTFS in the future...

    BTW: how does this work in NT? Do you first open a file and then fork it like
    in my example, do they have a special open for substreams or is the
    substream always encoded in the filename?

    bye...
    -
    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-03-22 12:53    [W:4.646 / U:0.620 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site