[lkml]   [2003]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: epoll vs stdin/stdout
    In article <>,
    Jamie Lokier <> wrote:
    >Unfortunately I cannot think of a way for a process to know, in
    >general, whether two fds that it is passed correspond to the same file
    >*. Well, apart from trying epoll on it and seeing what happens :/

    fstat() and compare st_dev and st_ino


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:46    [W:0.022 / U:10.548 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site