[lkml]   [1998]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectbug in write(2) system call.
As a continuation of the thread "bug in read(2) syscall" on
linux-smp I would like to confirm that the same bug exists in
write(2) as well, i.e. write(1, 0, 10) returns 10 instead of -1
with errno=EFAULT.

This is only when the descriptor is a tty - on files and /dev/null
it's okay...

------ -------- --------- -------- -- - -- ---- --
Tigran A. Aivazian |
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | Email:

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

 \ /
  Last update: 2005-03-22 13:45    [W:0.047 / U:0.332 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site