- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for S_ISREG (0.38 sec)
-
src/cmd/link/internal/ld/lib.go
} /* * Unix doesn't like it when we write to a running (or, sometimes, * recently run) binary, so remove the output file before writing it. * On Windows 7, remove() can force a subsequent create() to fail. * S_ISREG() does not exist on Plan 9. */ func mayberemoveoutfile() { if fi, err := os.Lstat(*flagOutfile); err == nil && !fi.Mode().IsRegular() { return } os.Remove(*flagOutfile) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0)