Commit f98c3cdc authored by Orvid King's avatar Orvid King Committed by Facebook Github Bot

Remove the file descriptor overload of shutdownNoInt

Summary: It's no longer needed

Reviewed By: yfeldblum

Differential Revision: D13105079

fbshipit-source-id: d9d1ea7cc11380ea0d17cfee6055e113b888e465
parent 55c8fdaa
...@@ -50,9 +50,6 @@ int ftruncateNoInt(int fd, off_t len); ...@@ -50,9 +50,6 @@ int ftruncateNoInt(int fd, off_t len);
int truncateNoInt(const char* path, off_t len); int truncateNoInt(const char* path, off_t len);
int flockNoInt(int fd, int operation); int flockNoInt(int fd, int operation);
int shutdownNoInt(NetworkSocket fd, int how); int shutdownNoInt(NetworkSocket fd, int how);
inline int shutdownNoInt(int fd, int how) {
return shutdownNoInt(NetworkSocket::fromFd(fd), how);
}
ssize_t readNoInt(int fd, void* buf, size_t n); ssize_t readNoInt(int fd, void* buf, size_t n);
ssize_t preadNoInt(int fd, void* buf, size_t n, off_t offset); ssize_t preadNoInt(int fd, void* buf, size_t n, off_t offset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment