* Pali Rohár: > In close(2) manpage is specified that close() syscall may return EINTR > error with reference to signal(7) manpage. > > But signal(7) manpage does not specify that close() syscall may be > interrupted and fails with EINTR. > > So, can close() syscall be really interrupted or not? If yes then > signal(7) manpage should be updated as it is referenced by close(2). On Linux, close can fail with EINTR, but it will eventually perform the actual nevertheless. So you must not retry to close the same descriptor again.