Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getUmask (0.1 sec)

  1. cmd/xl-storage_unix_test.go

    package cmd
    
    import (
    	"context"
    	"os"
    	"path"
    	"syscall"
    	"testing"
    )
    
    // Based on `man getumask` a vaporware GNU extension to glibc.
    // returns file mode creation mask.
    func getUmask() int {
    	mask := syscall.Umask(0)
    	syscall.Umask(mask)
    	return mask
    }
    
    // Tests if the directory and file creations happen with proper umask.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 25 19:37:26 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. api/go1.txt

    pkg syscall (windows-386), type InterfaceInfo struct, BroadcastAddress SockaddrGen
    pkg syscall (windows-386), type InterfaceInfo struct, Flags uint32
    pkg syscall (windows-386), type InterfaceInfo struct, Netmask SockaddrGen
    pkg syscall (windows-386), type IpAdapterInfo struct
    pkg syscall (windows-386), type IpAdapterInfo struct, AdapterName [260]uint8
    pkg syscall (windows-386), type IpAdapterInfo struct, Address [8]uint8
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top