Skip to content

Instantly share code, notes, and snippets.

@logie17
Created August 15, 2012 16:24
Show Gist options
  • Save logie17/3361376 to your computer and use it in GitHub Desktop.
Save logie17/3361376 to your computer and use it in GitHub Desktop.
Errno with unsuccessful remove
using src/Charmonizer/Test/TestLargeFiles.c as example:
Line:138
if ( -1 == remove("_charm_large_file_test") ) {
Util_warn("Error removing file %s\n", strerror(errno));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment