Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ fclose_noerr
Function
fclose_noerr
ccan/ccan/noerr/noerr.c:20–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
}
19
20
int fclose_noerr(FILE *fp)
21
{
22
int saved_errno = errno, ret;
23
24
if (fclose(fp) != 0)
25
ret = errno;
26
else
27
ret = 0;
28
29
errno = saved_errno;
30
return ret;
31
}
32
33
int unlink_noerr(const char *pathname)
34
{
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
1
main
Function · 0.68