Last active
January 3, 2016 18:09
-
-
Save ramn/8499987 to your computer and use it in GitHub Desktop.
Close FD of another process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdb -batch -ex 'call close(3)' -p <PID> # closes file descriptor 3 for process with <PID> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment