Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ write_header
Function
write_header
win/share/ppmwrite.c:26–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
static void WriteTileStrip(void);
25
26
static void
27
write_header(void)
28
{
29
(void) fprintf(ppm_file,
"P6 %03d %03d 255\n"
, PpmScreen.Width,
30
PpmScreen.Height);
31
}
32
33
static void
34
WriteTileStrip(void)
Callers
2
fopen_ppm_file
Function · 0.85
fclose_ppm_file
Function · 0.85
Calls
1
fprintf
Function · 0.85
Tested by
no test coverage detected