ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

freebsd:read

T1 multi syscall syscall
FreeBSD Syscall #3: read
SourceFreeBSD Kernel Syscall Table (syscalls.master) (freebsd_syscalls)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeFreeBSD (main)
FreeBSD (x86-64 / ARM64 / RISC-V / PowerPC)
License & VersionBSD-2-Clause
freebsd/main
Upstreamhttps://github.com/freebsd/freebsd-src/blob/main/sys/kern/syscalls.master
Privilegeuser->supervisor
ExtensionsFreeBSD, POSIX

Summary

FreeBSD kernel syscall #3: ssize_t read( int fd, _Out_writes_bytes_(nbyte) void *buf, size_t nbyte ) (from sys/kern/syscalls.master, BSD-2-Clause).

Syntax / Encoding

/* FreeBSD #3 */
ssize_t read( int fd, _Out_writes_bytes_(nbyte) void *buf, size_t nbyte );