Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for openFileNolog (3.18 sec)

  1. src/os/file_unix.go

    // On Unix-like systems, it is "/dev/null"; on Windows, "NUL".
    const DevNull = "/dev/null"
    
    // openFileNolog is the Unix implementation of OpenFile.
    // Changes here should be reflected in openDirAt and openDirNolog, if relevant.
    func openFileNolog(name string, flag int, perm FileMode) (*File, error) {
    	setSticky := false
    	if !supportsCreateWithStickyBit && flag&O_CREATE != 0 && perm&ModeSticky != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top