Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Well, yes:

    EINVAL    fd is bound to a special file (e.g., a pipe, FIFO, or
              socket) which does not support synchronization.
Or as POSIX puts it,

    [EINVAL]
        The fildes argument does not refer to a file on which this operation is possible.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: