- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for openFileNolog (0.3 sec)
-
src/os/removeall_at.go
// the file descriptor dirfd. If name is anything but a directory (this // includes a symlink to one), it should return an error. Other than that this // should act like openFileNolog. // // This acts like openFileNolog rather than OpenFile because // we are going to (try to) remove the file. // The contents of this file are not relevant for test caching. func openDirAt(dirfd int, name string) (*File, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:26 UTC 2024 - 4.8K bytes - Viewed (0) -
src/os/getwd.go
// adds /name to the beginning of dir. dir = "" for parent := ".."; ; parent = "../" + parent { if len(parent) >= 1024 { // Sanity check return "", syscall.ENAMETOOLONG } fd, err := openFileNolog(parent, O_RDONLY, 0) if err != nil { return "", err } for { names, err := fd.Readdirnames(100) if err != nil { fd.Close() return "", err } for _, name := range names {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 28 06:28:02 UTC 2020 - 2.5K bytes - Viewed (0)