Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getUmask (0.07 seconds)

  1. cmd/xl-storage_unix_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"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.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 3.4K bytes
    - Click Count (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
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
Back to Top