Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: error on TTY read: no such file or directory



lordzork@xxxxxxxxxxxx wrote:
>and this read() function is a part of what? zsh? glibc?

read() itself is in libc, but what strace shows you is the underlying
system call, which is part of the kernel.  The strace output you're
getting shows the kernel violating the rules of the read() API; but if
that may be broken, then it's also possible that ptrace() or strace is
broken instead.  What OS version is this?

-zefram



Messages sorted by: Reverse Date, Date, Thread, Author