SendFile sends a file over the given AF_UNIX socket. file.Name() is also included so that if the other end uses RecvFile, the file will have the same name information. Deprecated: This method is deprecated and has been moved to an internal package (see [cmsg.SendFile]). It will be removed in runc 1
(socket, file *os.File)
| 23 | // Deprecated: This method is deprecated and has been moved to an internal |
| 24 | // package (see [cmsg.SendFile]). It will be removed in runc 1.6. |
| 25 | func SendFile(socket, file *os.File) error { |
| 26 | return cmsg.SendFile(socket, file) |
| 27 | } |
| 28 | |
| 29 | // SendRawFd sends a specific file descriptor over the given AF_UNIX socket. |
| 30 | // |
nothing calls this directly
no test coverage detected
searching dependent graphs…