Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for syscall0 (0.13 sec)

  1. src/syscall/zsyscall_openbsd_amd64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  2. src/syscall/zsyscall_openbsd_arm64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_openbsd_ppc64.go

    	r0, _, e1 := syscall(abi.FuncPCABI0(libc_read_trampoline), uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf))
    	n = int(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Seek(fd int, offset int64, whence int) (newoffset int64, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  4. src/os/file.go

    	O_RDONLY int = syscall.O_RDONLY // open the file read-only.
    	O_WRONLY int = syscall.O_WRONLY // open the file write-only.
    	O_RDWR   int = syscall.O_RDWR   // open the file read-write.
    	// The remaining values may be or'ed in to control behavior.
    	O_APPEND int = syscall.O_APPEND // append data to the file when writing.
    	O_CREATE int = syscall.O_CREAT  // create a new file if none exists.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. src/os/file_windows.go

    	if e1 != e {
    		a, e2 := syscall.GetFileAttributes(p)
    		if e2 != nil {
    			e = e2
    		} else {
    			if a&syscall.FILE_ATTRIBUTE_DIRECTORY != 0 {
    				e = e1
    			} else if a&syscall.FILE_ATTRIBUTE_READONLY != 0 {
    				if e1 = syscall.SetFileAttributes(p, a&^syscall.FILE_ATTRIBUTE_READONLY); e1 == nil {
    					if e = syscall.DeleteFile(p); e == nil {
    						return nil
    					}
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/os/file_plan9.go

    const DevNull = "/dev/null"
    
    // syscallMode returns the syscall-specific mode bits from Go's portable mode bits.
    func syscallMode(i FileMode) (o uint32) {
    	o |= uint32(i.Perm())
    	if i&ModeAppend != 0 {
    		o |= syscall.DMAPPEND
    	}
    	if i&ModeExclusive != 0 {
    		o |= syscall.DMEXCL
    	}
    	if i&ModeTemporary != 0 {
    		o |= syscall.DMTMP
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:35:30 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/internal/trace/summary.go

    				if g.lastRunnableTime != 0 {
    					g.SchedWaitTime += ev.Time().Sub(g.lastRunnableTime)
    					g.lastRunnableTime = 0
    				}
    			case GoSyscall:
    				// Record syscall execution time and syscall block time as we transition out of syscall.
    				if g.lastSyscallTime != 0 {
    					if g.lastSyscallBlockTime != 0 {
    						g.SyscallBlockTime += ev.Time().Sub(g.lastSyscallBlockTime)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. src/os/file_unix.go

    	if kind == kindOpenFile {
    		switch runtime.GOOS {
    		case "darwin", "ios", "dragonfly", "freebsd", "netbsd", "openbsd":
    			var st syscall.Stat_t
    			err := ignoringEINTR(func() error {
    				return syscall.Fstat(fd, &st)
    			})
    			typ := st.Mode & syscall.S_IFMT
    			// Don't try to use kqueue with regular files on *BSDs.
    			// On FreeBSD a regular file is always
    			// reported as ready for writing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. src/os/os_windows_test.go

    	header windows.REPARSE_DATA_BUFFER_HEADER
    	detail [syscall.MAXIMUM_REPARSE_DATA_BUFFER_SIZE]byte
    }
    
    func createDirLink(link string, rdb *_REPARSE_DATA_BUFFER) error {
    	err := os.Mkdir(link, 0777)
    	if err != nil {
    		return err
    	}
    
    	linkp := syscall.StringToUTF16(link)
    	fd, err := syscall.CreateFile(&linkp[0], syscall.GENERIC_WRITE, 0, nil, syscall.OPEN_EXISTING,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. src/syscall/syscall_aix.go

    // Note that sometimes we use a lowercase //sys name and
    // wrap it in our own nicer implementation.
    
    package syscall
    
    import (
    	"unsafe"
    )
    
    func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top