MCPcopy Create free account
hub / github.com/NetHack/NetHack / regularize

Function regularize

outdated/sys/mac/macunix.c:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#include "hack.h"
9
10void
11regularize(char *s)
12{
13 register char *lp;
14
15 for (lp = s; *lp; lp++) {
16 if (*lp == '.' || *lp == ':')
17 *lp = '_';
18 }
19}
20
21void
22getlock(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected