libc

package module
v0.20260809.0-rc.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2026 License: AGPL-3.0 Imports: 35 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

c2go-libc

Go Reference

简体中文

PRE-RELEASE — NOT RELEASE-READY

This repository is undergoing release, provenance, and licensing work. The project has not designated a stable module tag or production release. Anyone redistributing this snapshot must independently satisfy every applicable license and notice obligation. See Release blockers.

c2go-libc is the runtime C-library compatibility layer for programs translated by the c2go toolchain. It combines selected musl-derived implementations, c2go-specific C adaptations, and Go runtime bridges, then generates target-specific Go bindings and Plan 9 assembly.

It is not a drop-in replacement for the host system libc. It is also not an independent general-purpose Go library: its ABI, linknames, generated files, and supported Go versions must match the corresponding c2go-clang and c2go-bind release.

Place in the c2go toolchain

C source and annotated headers
        |
        v
c2go-clang -fc2go        -> LLVM bitcode per translation unit
        |
        v
c2go-lto                 -> whole-package Plan 9 assembly + manifest
        |
        v
c2go-bind                -> target-specific Go bindings
        |
        v
c2go-libc + translated package -> Go linker/runtime

The three c2go projects are a matched release set:

  • c2go-clang owns the C/LLVM translation pipeline and c2go ABI lowering.
  • c2go-bind turns the emitted manifest and assembly into a Go package.
  • c2go-libc supplies the libc-compatible surface and Go runtime bridges expected by translated packages.

The Go module path is intentionally:

github.com/c2gohq/c2go_libc

The underscore is embedded in active linknames and is different from the human-facing repository name c2go-libc.

Managed libc variants (mlib)

The root package keeps its unmanaged, handle-ID-based compatibility surface. The new mlib subpackage is the managed counterpart for stateful APIs: its C carrier stores a direct GC-visible Go pointer and therefore needs no global ID-to-pointer registry. The implemented families cover unnamed semaphores; pthread lifecycle, keys, and synchronization; the complete managed directory propagation cluster (DIR, scandir, nftw/ftw, and glob); managed standard, explicit, memory, custom, wide, and process streams; and managed search.h tree, hash-table, and queue containers; and POSIX regular expressions backed by a per-object GC arena. Managed allocation helpers include strdup/strndup/wcsdup, asprintf/vasprintf, realpath, and getcwd(NULL, size), with GC-owned results.

Managed names are explicit by default (mlib_sem_t, mlib_sem_init, mlib_pthread_mutex_t, mlib_pthread_mutex_lock, mlib_DIR, mlib_opendir). Define C2GO_MLIB_UNPREFIXED before the first mlib header to expose the corresponding standard names instead. That switch applies to the whole C2Go/LTO package; do not mix both routings in one package. Pointer-bearing managed records use typed gc_malloc(c2go_typeinfo(T), sizeof(T)); pointer-free buffers may use gc_malloc(NULL, size), and type-erased object graphs need an explicit owner such as the regex arena. They never use ordinary malloc. Managed scandir, glob, and managed search containers are GC-owned and must not be passed to free. The byte-oriented lsearch/lfind pair remains root-only and may be used only with pointer-free elements. See mlib/README.md for examples and constraints.

The current handle-table carrier migration is complete, but the managed allocation surface is not. Remaining allocation-returning buffers and pointer-bearing owned graphs are tracked separately. Managed POSIX regex is implemented by selectively compiling a second TRE instance: all of its allocations use gc_malloc, and a per-regex_t Go arena directly roots every no-scan block instead of relying on pointers hidden inside TRE records. iconv remains an intentional root-only exception: exact POSIX compatibility requires the non-pointer (iconv_t)-1 failure value, which cannot be stored in a precise-GC managed pointer slot. mlib is therefore a managed ownership surface, not a mechanical duplicate of every root-libc function. Include the required <c2go/mlib/...> family headers explicitly; there is deliberately no umbrella header for this partial surface.

Current target manifest

The generator currently has entries for the following targets:

GOOS GOARCH Runtime artifact C selftest artifact
Darwin arm64 tracked generated artifact tracked generated artifact
Darwin amd64 tracked generated artifact tracked generated artifact
Linux arm64 tracked generated artifact tracked generated artifact
Linux amd64 tracked generated artifact tracked generated artifact
Windows amd64 tracked generated artifact; uses msvcrt for selected externals not generated

This table describes code-generation intent, not a stable support promise. There is no checked-in clean-clone CI matrix yet. Windows support also has a smaller POSIX surface than Darwin and Linux.

The current module declares Go 1.25.0. Its central c2goabi provider admits Go 1.25.x and Go 1.26.x under toolchain contract epoch 1, and rejects Go 1.27 or later by default until that toolchain contract is validated. Schema-v2 generated packages do not embed that upper bound: if a later Go release keeps contract epoch 1, only c2go-libc needs an update and those packages remain unchanged. The current C2Go ABI epoch range is 1..1.

Repository layout

.
├── go.mod                         Go module at the repository root
├── *.go                           hand-written Go runtime bridges
├── libc_<os>_<arch>.go/.s         generated release artifacts
├── sjlj_<arch>.s                  hand-written setjmp/longjmp support
├── musl/                          pinned c2go musl-fork submodule
├── csrc/                          C adaptations, original C, and headers
├── internal/posixsync/            state algorithms shared by libc and mlib
├── mlib/                          managed libc package, headers, and selftests
├── selftest/                      in-C callback/comparator tests
├── CMakeLists.txt                 source manifest consumed by gen.sh
├── gen.sh                         actual regeneration driver
└── LICENSE*, NOTICE, *LICENSING*  license and provenance records

Important details:

  • CMakeLists.txt is currently a manifest. It does not define a runnable CMake build target.
  • musl/ is a committed submodule of https://github.com/c2gohq/musl.git, pinned to an exact commit from its c2go branch.
  • csrc/ is not a license boundary. It contains both original and adapted third-party-derived material.
  • Generated runtime artifacts for all five listed targets and selftest artifacts for the four Darwin/Linux targets are tracked. Their deterministic regeneration and mixed-source notices still require release verification.
  • dl/ provides the external native-call boundary required by current c2go-bind output. Unix dispatch uses a version-pinned PureGo trampoline; Windows uses Win32 loader and syscall APIs.

See PROVENANCE.md for the evidence-backed source map.

Local maintainer workflow

There is no supported end-user installation command yet. In particular, go get github.com/c2gohq/c2go_libc is not a valid release instruction until the blockers below are closed and an immutable version is published.

In the existing maintainer checkout, regeneration is driven by gen.sh:

CLANG=/absolute/path/to/c2go-clang \
C2GOLTO=/absolute/path/to/c2go-lto \
C2GOBIND=/absolute/path/to/c2go-bind \
./gen.sh

go test ./...

CLANG, C2GOLTO, and C2GOBIND must all come from a mutually compatible c2go toolchain. The checked-in script still contains machine-specific default paths; callers should override all three variables.

Initialize musl/ with git submodule update --init before regenerating. These commands are not evidence that the complete clean-clone matrix works.

Testing status

At the 2026-07-28 verification snapshot:

  • go test ./... passed on Darwin arm64 with Go 1.25.9 in the active checkout and in a clean git archive HEAD extraction using the tracked generated files.
  • go vet ./... did not pass: the stock assembly analyzer reports the C2Go-generated nonstandard argument frames and missing Go declarations, and one test reports a possible unsafe.Pointer misuse. A release must define and enforce a reviewed vet/static-analysis policy rather than silently ignoring this result.
  • A clean recursive clone can initialize the pinned musl submodule. A Git archive includes the gitlink directory but not the submodule contents, so the archive test proves use of tracked artifacts, not reproducible regeneration or complete corresponding source.
  • No repository CI workflow currently proves all five generated targets.
  • dl unit tests pass natively on Darwin arm64 with CGO_ENABLED=0; its Darwin amd64 and Linux amd64/arm64 packages cross-compile, and its Windows/amd64 loader plus integer/float dispatch tests pass under Wine 7.7. Generated consumers still need a clean-checkout end-to-end release gate.

At the 2026-08-03 contract-provider update, Go 1.26.0 passed the root, dl, and selftest packages natively on Darwin arm64, including a SQLite consumer under GOGC=1 and GODEBUG=invalidptr=1. The coordinated toolchain release workflow now requires the same Go 1.26.x runtime tests on native Linux amd64, Linux arm64, Windows amd64, and macOS arm64 runners before packaging begins.

Release claims must be based on a clean checkout and end-to-end generated consumer tests, not the prepared working tree alone.

Scope and known limitations

The implementation intentionally exposes only the functions and declarations that have an implementation for the relevant target. Current design limits include:

  • one C.UTF-8 locale and no message catalogs;
  • Go-runtime-mediated signal delivery rather than unrestricted native signal handler replacement;
  • no general fork/exec family;
  • a reduced POSIX surface on Windows;
  • selected formatted-I/O paths treating long double as double;
  • no 32-bit targets; and
  • tight coupling to the supported Go version and c2go ABI epoch.

These limits should be treated as part of the current runtime contract, not silently filled with fake-success stubs.

Release blockers

The project will not designate this repository as RELEASE-READY until at least the following items are complete:

  1. Verify deterministic regeneration and add accurate mixed-source notices to every tracked generated artifact.
  2. Make a clean recursive checkout build and pass the complete test matrix.
  3. Remove machine-specific generator assumptions and document a reproducible toolchain bootstrap.
  4. Verify c2go_libc/dl unmanaged-extern and callback consumers end to end from a clean matched toolchain checkout, including the pinned PureGo ABI.
  5. Restore and verify the notice required by the Apple Libc/FreeBSD-derived Darwin code in csrc/termios.c.
  6. Resolve the provenance and license treatment of XNU-derived Darwin ABI material and other third-party definitions.
  7. Complete file-level copyright/license headers and a generated-artifact notice.
  8. Resolve or explicitly review the current go vet findings and make the release static-analysis gate reproducible.
  9. Publish a complete corresponding-source bundle containing the exact source used to produce shipped artifacts.
  10. Record and verify the full legal identity and ownership of the selected individual licensor, finalize commercial terms and a CLA, and obtain qualified open-source/IP legal review.

The detailed checklist lives in PROVENANCE.md and LICENSING.md.

Licensing

The intended model is:

  • verified original c2go material: GNU AGPL-3.0-only, or a separately executed commercial agreement as an alternative;
  • musl-derived material: musl's MIT terms and its file-specific notices; and
  • all other third-party material: its original applicable terms.

AGPL-3.0-only permits commercial use when its conditions are followed. The repository must not claim that all commercial use requires payment. A future commercial agreement can grant alternative rights only for material that its licensor is authorized to license; it cannot change rights in musl or other third-party material.

GitHub Sponsors may be designated as a payment channel in a separately executed commercial agreement. Sponsorship payment alone does not grant rights.

The current license/provenance documentation is deliberately marked pre-release because the file-level audit is incomplete. Anyone independently redistributing this snapshot must comply with all applicable licenses and cannot rely on the current documents as a final notice bundle.

Read:

This documentation is not legal advice. The final release requires qualified legal review.

Contributing

External code contributions are not currently accepted for merge because the copyright owner, CLA, and commercial-relicensing process are not finalized. Reproducible bug reports and original documentation feedback may be provided through whatever public issue channel is established for the eventual repository.

See CONTRIBUTING.md before submitting any material.

Documentation

Overview

cstr.go — shared C-string helper (cross-platform).

errno.go — per-goroutine errno via GLS.

The C-side `errno` macro expands to `*__errno_location()`, and c2go routes the standard glibc/musl accessor name __errno_location to ErrnoPtr below (see the c2go_linkname on __errno_location in <c2go.h>). It returns the address of the calling goroutine's int32 errno so ported C source that touches errno resolves to the same per-goroutine slot the `errno` macro reads.

gls.go — goroutine-local storage for c2go-libc, backed by github.com/timandy/routine.

Per-goroutine c2go-libc state lives in a single *tlsState held in a routine.ThreadLocal. timandy stores it in the goroutine's g.labels slot (profiler-safe: its `thread` struct leads with a labelMap) and transparently recreates it when a recycled g reports a new goid. NON-inheritable: a new pthread (a goroutine spawned by pthread_create) starts with fresh state, matching POSIX — errno and __thread do not inherit across pthread_create.

The field set grows as support lands: errno, plus pthread_key thread-specific data (tls / keyDeath, see pthread_key.go).

handle.go — a dense id->object handle table: the shared rooting + identity substrate for Go state referenced by unmanaged C carriers. Current users include POSIX synchronization objects, threads, directory streams, FILE locks, popen processes, and iconv descriptor lifetimes.

Most users place a 64-bit `_id` in plain unmanaged C memory. Some APIs expose the id as a scalar handle, while iconv returns the real Go pointer and uses the table only as its C-lifetime root. The table is specialized to one *T per id rather than malloc.go's one []byte per allocation.

id = generation<<32 | (registry index + 1), so id 0 stays reserved for "uninitialized" and a recycled slot retires every stale copy of its old id (#658 M6). A freelist recycles indices, bounding the registry to the high-water count of concurrently-live objects. Every operation is under one global RWMutex — the hot lookup path only resolves (get), so it takes the read lock and resolves in parallel, while init/destroy take the write lock. A RWMutex (not the plain Mutex malloc.go uses) is the right fit precisely because this table — unlike malloc's write-only one — is read-dominated in steady state: the real st.Lock() runs outside this lock, so after init nearly every table access is a get(). Measured ~15-30% faster than a Mutex at 4-8 cores for that pattern; the read-lock's shared reader count still bounces between cores, so at high core counts this converges toward the plain Mutex and the real fix becomes a chunked lock-free table — which can replace this without changing the API.

Values are stored as *T, never T by value: the registry slice is reallocated when it grows, which copies its elements — and Go forbids copying a used sync.Mutex — so only the pointers ever move, never the states they point at.

malloc.go — the libc malloc/free/calloc/realloc/aligned_alloc family, implemented in Go over per-allocation make([]byte) slices.

Go's runtime allocator IS the malloc engine: every malloc() is one make([]byte) (size-classed, per-P cached, zeroed by the runtime). The only job left here is ROOTING — C code stores the returned pointer where the GC cannot see it (inside other malloc'd noscan bytes), so each live allocation's backing slice must be referenced from a Go-visible root until free(). That root is a dense handle table ([][]byte plus a free-index list). The handle index and the payload size live in a 16-byte header immediately before the returned pointer, which also guarantees max_align_t (16-byte) alignment and gives realloc its copy size without a table lookup.

free() just drops the root (registry slot -> nil): the bytes become unreachable and the next GC cycle reclaims them — ordinary Go object lifetime, pacer-accounted. Deliberately NOT runtime.mallocgc with nil typ: a bare noscan block with no Go-side reference is reclaimed while C still holds pointers to it. GC-TRACKED allocation stays explicit via GCMalloc (gc_malloc.go).

The C callers reach these through the c2go_linkname declarations in <stdlib.h> (github.com/c2gohq/c2go_libc.Malloc etc., GoABI0) — the same C-calls-Go pattern as gc_malloc/GCMalloc.

process.go — process-control and environment bridges (cross-platform).

exit/atexit and the atexit handler registry live in C (source/stdlib.c) so the registered C function pointers are invoked with a native call; only the final process termination crosses into Go here, because os.Exit is the sole way to stop the Go runtime. getenv/setenv/unsetenv are implemented directly in Go over the os package, which owns the process environment under the Go runtime.

stdio.go — the Go state behind root libc's FILE locks (csrc/stdio.c). Root FILE keeps a generation-stamped integer handle because its C carrier is unmanaged. The recursive lock algorithm itself lives in internal/posixstdio and is shared with mlib, whose managed FILE stores the Go pointer directly.

time.go — the Go clock bridge behind <time.h>/<sys/time.h> (cross-platform).

c2go-compiled C cannot read a clock itself, so the "now" primitive comes from Go's time package. The C wrappers (source/time.c) shape it into time_t / struct timespec / struct timeval and own the calendar math. The clock ids are c2go-uniform (see <time.h>), interpreted here, NOT host clock_gettime ids.

Index

Constants

View Source
const (
	C2GoABIEpochMin = c2goabi.C2GoABIEpochMin
	C2GoABIEpochMax = c2goabi.C2GoABIEpochMax
)

C2GoABIEpoch — the c2go-internal ABI generation (calling conventions, symbol / gcbitmap naming, manifest schema, managed model) this build of c2go-libc speaks. A c2go-clang-generated consumer package must emit an ABI epoch within [C2GoABIEpochMin, C2GoABIEpochMax]; the c2go-bind-generated c2go_abi_anchor.go enforces that at `go build` time via a const static assert (see c2go-bind main.go emitABIAnchor + docs/c2go/versioning.md). Bump only on an intentional ABI break.

Variables

This section is empty.

Functions

func A64l

func A64l(s *byte) int64

func Abort

func Abort()

func Abs

func Abs(a int32) int32

func Access

func Access(path *byte, amode int32) int32

func Acos

func Acos(x float64) float64

func Acosf

func Acosf(x float32) float32

func Acosh

func Acosh(x float64) float64

func Acoshf

func Acoshf(x float32) float32

func AlignedAlloc

func AlignedAlloc(align uint64, size uint64) unsafe.Pointer

func Alphasort

func Alphasort(a **dirent, b **dirent) int32

func Asctime

func Asctime(tm *tm) *byte

func AsctimeR

func AsctimeR(tm *tm, buf *byte) *byte

func Asin

func Asin(x float64) float64

func Asinf

func Asinf(x float32) float32

func Asinh

func Asinh(x float64) float64

func Asinhf

func Asinhf(x float32) float32

func Asprintf

func Asprintf(s **byte, fmt *byte, argptrs unsafe.Pointer) int32

func AssertFail

func AssertFail(expr *byte, file *byte, line int32, fn *byte)

func AtQuickExit

func AtQuickExit(f uintptr) int32

func Atan

func Atan(x float64) float64

func Atan2

func Atan2(y float64, x float64) float64

func Atan2f

func Atan2f(y float32, x float32) float32

func Atanf

func Atanf(x float32) float32

func Atanh

func Atanh(x float64) float64

func Atanhf

func Atanhf(x float32) float32

func Atexit

func Atexit(f uintptr) int32

func Atof

func Atof(s *byte) float64

func Atoi

func Atoi(s *byte) int32

func Atol

func Atol(s *byte) int64

func Atoll

func Atoll(s *byte) int64

func Basename

func Basename(s *byte) *byte

func BindTextdomainCodeset

func BindTextdomainCodeset(domainname *byte, codeset *byte) *byte

func Bindtextdomain

func Bindtextdomain(domainname *byte, dirname *byte) *byte

func Bsearch

func Bsearch(key unsafe.Pointer, base unsafe.Pointer, nel uint64, width uint64, cmp uintptr) unsafe.Pointer

func Btowc

func Btowc(c int32) uint32

func Bzero

func Bzero(s unsafe.Pointer, n uint64)

func C2goFileRawClose

func C2goFileRawClose(f *FILE) int32

func C2goFileRawFdopen

func C2goFileRawFdopen(f *FILE, fd int32, mode *byte, storage *byte, storage_size uint64) int32

func C2goFileRawFgetwc

func C2goFileRawFgetwc(f *FILE) uint32

func C2goFileRawFgetws

func C2goFileRawFgetws(s *int32, n int32, f *FILE) *int32

func C2goFileRawFmemopen

func C2goFileRawFmemopen(f *FILE, cookie_storage unsafe.Pointer, cookie_storage_size uint64, storage *byte, storage_size uint64, buf unsafe.Pointer, size uint64, mode *byte) int32

func C2goFileRawFputwc

func C2goFileRawFputwc(c int32, f *FILE) uint32

func C2goFileRawFputws

func C2goFileRawFputws(ws *int32, f *FILE) int32

func C2goFileRawFwide

func C2goFileRawFwide(f *FILE, mode int32) int32

func C2goFileRawGetdelimManaged

func C2goFileRawGetdelimManaged(s *unsafe.Pointer, n *uint64, delim int32, f *FILE) int64

func C2goFileRawOpen

func C2goFileRawOpen(f *FILE, filename *byte, mode *byte, storage *byte, storage_size uint64) int32

func C2goFileRawStdinit

func C2goFileRawStdinit(f *FILE, which int32, storage *byte, storage_size uint64) int32

func C2goFileRawUngetwc

func C2goFileRawUngetwc(c uint32, f *FILE) uint32

func C2goFileRawVfscanfManaged

func C2goFileRawVfscanfManaged(f *FILE, fmt *byte, ap *__va_list_tag) int32

func C2goFileRawVfwprintf

func C2goFileRawVfwprintf(f *FILE, fmt *int32, ap *__va_list_tag) int32

func C2goFileRawVfwscanfManaged

func C2goFileRawVfwscanfManaged(f *FILE, fmt *int32, ap *__va_list_tag) int32

func C2goFinalize

func C2goFinalize()

func C2goPthreadRun

func C2goPthreadRun(start uintptr, arg unsafe.Pointer) unsafe.Pointer

func C2goPthreadRunDtor

func C2goPthreadRunDtor(fn uintptr, arg unsafe.Pointer)

func C2goPthreadRunVoid

func C2goPthreadRunVoid(fn uintptr)

func C2goSignalRun

func C2goSignalRun(sig int32, h uint64)

func C2goVsscanfManaged

func C2goVsscanfManaged(s *byte, fmt *byte, ap *__va_list_tag) int32

func C2goVswscanfManaged

func C2goVswscanfManaged(s *int32, fmt *int32, ap *__va_list_tag) int32

func C16rtomb

func C16rtomb(s *byte, c16 uint16, ps *__mbstate_t) uint64

func C32rtomb

func C32rtomb(s *byte, c32 uint32, ps *__mbstate_t) uint64

func Calloc

func Calloc(nmemb uint64, size uint64) unsafe.Pointer

func Cbrt

func Cbrt(x float64) float64

func Cbrtf

func Cbrtf(x float32) float32

func Ceil

func Ceil(x float64) float64

func Ceilf

func Ceilf(x float32) float32

func Cfgetispeed

func Cfgetispeed(tio *termios) uint32

func Cfgetospeed

func Cfgetospeed(tio *termios) uint32

func Cfmakeraw

func Cfmakeraw(t *termios)

func Cfsetispeed

func Cfsetispeed(tio *termios, speed uint32) int32

func Cfsetospeed

func Cfsetospeed(tio *termios, speed uint32) int32

func Cfsetspeed

func Cfsetspeed(tio *termios, speed uint32) int32

func Chdir

func Chdir(path *byte) int32

func Chmod

func Chmod(path *byte, mode uint32) int32

func Chown

func Chown(path *byte, uid uint32, gid uint32) int32

func Clearenv

func Clearenv() int32

func Clearerr

func Clearerr(f *FILE)

func Clock

func Clock() int64

func ClockGetres

func ClockGetres(id int32, ts *timespec) int32

func ClockGettime

func ClockGettime(id int32, ts *timespec) int32

func Close

func Close(fd int32) int32

func Closedir

func Closedir(d *__dirstream) int32

func Copysign

func Copysign(x float64, y float64) float64

func Copysignf

func Copysignf(x float32, y float32) float32

func Cos

func Cos(x float64) float64

func Cosf

func Cosf(x float32) float32

func Cosh

func Cosh(x float64) float64

func Coshf

func Coshf(x float32) float32

func Creat

func Creat(path *byte, mode uint32) int32

func Ctime

func Ctime(t *int64) *byte

func CtimeR

func CtimeR(t *int64, buf *byte) *byte

func CtypeGetMbCurMax

func CtypeGetMbCurMax() uint64

func Dcgettext

func Dcgettext(domainname *byte, msgid *byte, category int32) *byte

func Dcngettext

func Dcngettext(domainname *byte, msgid1 *byte, msgid2 *byte, n uint64, category int32) *byte

func Dgettext

func Dgettext(domainname *byte, msgid *byte) *byte

func Difftime

func Difftime(t1 int64, t0 int64) float64

func Dirfd

func Dirfd(d *__dirstream) int32

func Dirname

func Dirname(s *byte) *byte

func Div

func Div(num int32, den int32) (int32, int32)

func Dngettext

func Dngettext(domainname *byte, msgid1 *byte, msgid2 *byte, n uint64) *byte

func Dprintf

func Dprintf(fd int32, fmt *byte, argptrs unsafe.Pointer) int32

func Drand48

func Drand48() float64

func Dup

func Dup(fd int32) int32

func Dup2

func Dup2(oldfd int32, newfd int32) int32

func Dup3

func Dup3(oldfd int32, newfd int32, flags int32) int32

func Duplocale

func Duplocale(loc *__locale_struct) *__locale_struct

func EnvironSync

func EnvironSync()

func Erand48

func Erand48(s *uint16) float64

func Erf

func Erf(x float64) float64

func Erfc

func Erfc(x float64) float64

func Erfcf

func Erfcf(x float32) float32

func Erff

func Erff(x float32) float32

func Err

func Err(status int32, fmt *byte, argptrs unsafe.Pointer)

func ErrnoPtr

func ErrnoPtr() *int32

func Errx

func Errx(status int32, fmt *byte, argptrs unsafe.Pointer)

func Exit

func Exit(code int32)

func Exp

func Exp(x float64) float64

func Exp2

func Exp2(x float64) float64

func Exp2f

func Exp2f(x float32) float32

func Exp10

func Exp10(x float64) float64

func Expf

func Expf(x float32) float32

func ExplicitBzero

func ExplicitBzero(d unsafe.Pointer, n uint64)

func Expm1

func Expm1(x float64) float64

func Expm1f

func Expm1f(x float32) float32

func Fabs

func Fabs(x float64) float64

func Fabsf

func Fabsf(x float32) float32

func Fchdir

func Fchdir(fd int32) int32

func Fchmod

func Fchmod(fd int32, mode uint32) int32

func Fchown

func Fchown(fd int32, uid uint32, gid uint32) int32

func Fclose

func Fclose(f *FILE) int32

func Fcntl

func Fcntl(fd int32, cmd int32, argptrs unsafe.Pointer) int32

func Fdatasync

func Fdatasync(fd int32) int32

func Fdim

func Fdim(x float64, y float64) float64

func Fdimf

func Fdimf(x float32, y float32) float32

func Fdopendir

func Fdopendir(fd int32) *__dirstream

func Feclearexcept

func Feclearexcept(mask int32) int32

func Fegetenv

func Fegetenv(envp *uint32) int32

func Fegetround

func Fegetround() int32

func Feof

func Feof(f *FILE) int32

func Feraiseexcept

func Feraiseexcept(mask int32) int32

func Ferror

func Ferror(f *FILE) int32

func Fesetenv

func Fesetenv(envp *uint32) int32

func Fesetround

func Fesetround(r int32) int32

func Fetestexcept

func Fetestexcept(mask int32) int32

func Fflush

func Fflush(f *FILE) int32

func Ffs

func Ffs(i int32) int32

func Ffsl

func Ffsl(i int64) int32

func Ffsll

func Ffsll(i int64) int32

func Fgetc

func Fgetc(f *FILE) int32

func Fgetpos

func Fgetpos(f *FILE, pos *int64) int32

func Fgets

func Fgets(s *byte, n int32, f *FILE) *byte

func Fgetwc

func Fgetwc(f *FILE) uint32

func Fgetws

func Fgetws(s *int32, n int32, f *FILE) *int32

func Fileno

func Fileno(f *FILE) int32

func Flock

func Flock(fd int32, op int32) int32

func Flockfile

func Flockfile(f *FILE)

func Floor

func Floor(x float64) float64

func Floorf

func Floorf(x float32) float32

func Fma

func Fma(x float64, y float64, z float64) float64

func Fmaf

func Fmaf(x float32, y float32, z float32) float32

func Fmax

func Fmax(x float64, y float64) float64

func Fmaxf

func Fmaxf(x float32, y float32) float32

func Fmin

func Fmin(x float64, y float64) float64

func Fminf

func Fminf(x float32, y float32) float32

func Fmod

func Fmod(x float64, y float64) float64

func Fmodf

func Fmodf(x float32, y float32) float32

func Fnmatch

func Fnmatch(pat *byte, str *byte, flags int32) int32

func Fprintf

func Fprintf(f *FILE, fmt *byte, argptrs unsafe.Pointer) int32

func Fputc

func Fputc(c int32, f *FILE) int32

func Fputs

func Fputs(s *byte, f *FILE) int32

func Fputwc

func Fputwc(c int32, f *FILE) uint32

func Fputws

func Fputws(ws *int32, f *FILE) int32

func Fread

func Fread(destv unsafe.Pointer, size uint64, nmemb uint64, f *FILE) uint64

func Free

func Free(ap unsafe.Pointer)

func Freelocale

func Freelocale(loc *__locale_struct)

func Frexp

func Frexp(x float64, e *int32) float64

func Frexpf

func Frexpf(x float32, e *int32) float32

func Fscanf

func Fscanf(f *FILE, fmt *byte, argptrs unsafe.Pointer) int32

func Fseek

func Fseek(f *FILE, off int64, whence int32) int32

func Fseeko

func Fseeko(f *FILE, off int64, whence int32) int32

func Fsetpos

func Fsetpos(f *FILE, pos *int64) int32

func Fstat

func Fstat(fd int32, buf *stat) int32

func Fstatat

func Fstatat(dirfd int32, path *byte, st *stat, flags int32) int32

func Fsync

func Fsync(fd int32) int32

func Ftell

func Ftell(f *FILE) int64

func Ftello

func Ftello(f *FILE) int64

func Ftruncate

func Ftruncate(fd int32, len int64) int32

func Ftrylockfile

func Ftrylockfile(f *FILE) int32

func Ftw

func Ftw(path *byte, fn uintptr, fd_limit int32) int32

func Funlockfile

func Funlockfile(f *FILE)

func Futimens

func Futimens(fd int32, times *timespec) int32

func Fwide

func Fwide(f *FILE, mode int32) int32

func Fwprintf

func Fwprintf(f *FILE, fmt *int32, argptrs unsafe.Pointer) int32

func Fwrite

func Fwrite(src unsafe.Pointer, size uint64, nmemb uint64, f *FILE) uint64

func Fwscanf

func Fwscanf(f *FILE, fmt *int32, argptrs unsafe.Pointer) int32

func GCMalloc

func GCMalloc(typeInfo unsafe.Pointer, n uint64) unsafe.Pointer

GCMalloc is the typed GC allocation entry (C: gc_malloc). It allocates at least `n` zeroed bytes on the Go heap, tracked per `typeInfo` (a *runtime._type; null = noscan blob). needzero is always true so the GC never scans stale heap garbage before the caller's first store.

NOT //go:nosplit: runtime.mallocgc grows the stack and may trigger a GC, so GCMalloc must be an ordinary preemptible, stack-checked Go function.

func Getc

func Getc(f *FILE) int32

func Getchar

func Getchar() int32

func Getcwd

func Getcwd(buf *byte, size uint64) *byte

func Getdelim

func Getdelim(s **byte, n *uint64, delim int32, f *FILE) int64

func Getegid

func Getegid() uint32

func Getentropy

func Getentropy(buf unsafe.Pointer, n uint64) int32

func Getenv

func Getenv(name *byte) *byte

func Geteuid

func Geteuid() uint32

func Getgid

func Getgid() uint32

func Gethostname

func Gethostname(buf *byte, n uint64) int32

func Getline

func Getline(s **byte, n *uint64, f *FILE) int64

func Getopt

func Getopt(argc int32, argv **byte, optstring *byte) int32

func GetoptLong

func GetoptLong(argc int32, argv **byte, optstring *byte, longopts *option, idx *int32) int32

func GetoptLongOnly

func GetoptLongOnly(argc int32, argv **byte, optstring *byte, longopts *option, idx *int32) int32

func Getpagesize

func Getpagesize() int32

func Getpid

func Getpid() int32

Getpid implements getpid() (pid_t == int32). os.Getpid is cross-platform, so it lives here rather than in the Unix-only process_unix.go.

func Getppid

func Getppid() int32

func Getrlimit

func Getrlimit(resource int32, rlim *rlimit) int32

func Getrusage

func Getrusage(who int32, ru *rusage) int32

func Getsubopt

func Getsubopt(opt **byte, keys **byte, val **byte) int32

func Gettext

func Gettext(msgid *byte) *byte

func Gettimeofday

func Gettimeofday(tv *timeval, tz unsafe.Pointer) int32

func Getuid

func Getuid() uint32

func Getw

func Getw(f *FILE) int32

func Getwc

func Getwc(f *FILE) uint32

func Getwchar

func Getwchar() uint32

func Glob

func Glob(pat *byte, flags int32, errfunc uintptr, g *glob_t) int32

func Globfree

func Globfree(g *glob_t)

func Gmtime

func Gmtime(t *int64) *tm

func GmtimeR

func GmtimeR(t *int64, tm *tm) *tm

func Hcreate

func Hcreate(nel uint64) int32

func HcreateR

func HcreateR(nel uint64, htab *hsearch_data) int32

func Hdestroy

func Hdestroy()

func HdestroyR

func HdestroyR(htab *hsearch_data)

func Hsearch

func Hsearch(item entry, action uintptr) *entry

func HsearchR

func HsearchR(item entry, action uintptr, retval **entry, htab *hsearch_data) int32

func Hypot

func Hypot(x float64, y float64) float64

func Hypotf

func Hypotf(x float32, y float32) float32

func Iconv

func Iconv(cd unsafe.Pointer, inbuf **byte, inleft *uint64, outbuf **byte, outleft *uint64) uint64

func IconvClose

func IconvClose(cd unsafe.Pointer) int32

func IconvOpen

func IconvOpen(to, from *byte) unsafe.Pointer

IconvOpen returns the REAL *iconvState pointer, or nil on failure. The POSIX (iconv_t)-1 failure sentinel exists ONLY in the C world: the C wrapper (source/iconv.c) maps nil→-1 and screens -1 back out — a manufactured non-pointer value must never live in a Go pointer slot (a prior integer-handle design parked id 1 / ^0 in unsafe.Pointer stack slots and the precise stack scan threw "invalid pointer found on stack").

func Ilogb

func Ilogb(x float64) int32

func Ilogbf

func Ilogbf(x float32) int32

func Imaxabs

func Imaxabs(a int64) int64

func Imaxdiv

func Imaxdiv(num int64, den int64) (int64, int64)

func Initstate

func Initstate(seed uint32, state *byte, size uint64) *byte

func Insque

func Insque(element unsafe.Pointer, pred unsafe.Pointer)

func Ioctl

func Ioctl(fd int32, req int32, argptrs unsafe.Pointer) int32

func Isalnum

func Isalnum(c int32) int32

func IsalnumL

func IsalnumL(c int32, l *__locale_struct) int32

func Isalpha

func Isalpha(c int32) int32

func IsalphaL

func IsalphaL(c int32, l *__locale_struct) int32

func Isascii

func Isascii(c int32) int32

func Isatty

func Isatty(fd int32) int32

func Isblank

func Isblank(c int32) int32

func IsblankL

func IsblankL(c int32, l *__locale_struct) int32

func Iscntrl

func Iscntrl(c int32) int32

func IscntrlL

func IscntrlL(c int32, l *__locale_struct) int32

func Isdigit

func Isdigit(c int32) int32

func IsdigitL

func IsdigitL(c int32, l *__locale_struct) int32

func Isgraph

func Isgraph(c int32) int32

func IsgraphL

func IsgraphL(c int32, l *__locale_struct) int32

func Islower

func Islower(c int32) int32

func IslowerL

func IslowerL(c int32, l *__locale_struct) int32

func Isprint

func Isprint(c int32) int32

func IsprintL

func IsprintL(c int32, l *__locale_struct) int32

func Ispunct

func Ispunct(c int32) int32

func IspunctL

func IspunctL(c int32, l *__locale_struct) int32

func Isspace

func Isspace(c int32) int32

func IsspaceL

func IsspaceL(c int32, l *__locale_struct) int32

func Isupper

func Isupper(c int32) int32

func IsupperL

func IsupperL(c int32, l *__locale_struct) int32

func Iswalnum

func Iswalnum(wc uint32) int32

func IswalnumL

func IswalnumL(c uint32, l *__locale_struct) int32

func Iswalpha

func Iswalpha(wc uint32) int32

func IswalphaL

func IswalphaL(c uint32, l *__locale_struct) int32

func Iswblank

func Iswblank(wc uint32) int32

func IswblankL

func IswblankL(c uint32, l *__locale_struct) int32

func Iswcntrl

func Iswcntrl(wc uint32) int32

func IswcntrlL

func IswcntrlL(c uint32, l *__locale_struct) int32

func Iswctype

func Iswctype(wc uint32, t uint64) int32

func IswctypeL

func IswctypeL(c uint32, t uint64, l *__locale_struct) int32

func Iswdigit

func Iswdigit(wc uint32) int32

func IswdigitL

func IswdigitL(c uint32, l *__locale_struct) int32

func Iswgraph

func Iswgraph(wc uint32) int32

func IswgraphL

func IswgraphL(c uint32, l *__locale_struct) int32

func Iswlower

func Iswlower(wc uint32) int32

func IswlowerL

func IswlowerL(c uint32, l *__locale_struct) int32

func Iswprint

func Iswprint(wc uint32) int32

func IswprintL

func IswprintL(c uint32, l *__locale_struct) int32

func Iswpunct

func Iswpunct(wc uint32) int32

func IswpunctL

func IswpunctL(c uint32, l *__locale_struct) int32

func Iswspace

func Iswspace(wc uint32) int32

func IswspaceL

func IswspaceL(c uint32, l *__locale_struct) int32

func Iswupper

func Iswupper(wc uint32) int32

func IswupperL

func IswupperL(c uint32, l *__locale_struct) int32

func Iswxdigit

func Iswxdigit(wc uint32) int32

func IswxdigitL

func IswxdigitL(c uint32, l *__locale_struct) int32

func Isxdigit

func Isxdigit(c int32) int32

func IsxdigitL

func IsxdigitL(c int32, l *__locale_struct) int32

func J0

func J0(x float64) float64

func J1

func J1(x float64) float64

func Jn

func Jn(n int32, x float64) float64

func Jrand48

func Jrand48(s *uint16) int64

func Kill

func Kill(pid int32, sig int32) int32

Kill implements kill(pid, sig) (#675). kill(pid, 0) is the existence probe; in-process self-signalling should use raise() (the Go-side dispatcher), so this bridge matters for real cross-process signals and probes.

func L64a

func L64a(x0 int64) *byte

func Labs

func Labs(a int64) int64

func Lchown

func Lchown(path *byte, uid uint32, gid uint32) int32

func Lcong48

func Lcong48(p *uint16)

func Ldexp

func Ldexp(x float64, n int32) float64

func Ldexpf

func Ldexpf(x float32, n int32) float32

func Ldiv

func Ldiv(num int64, den int64) (int64, int64)

func Lfind

func Lfind(key unsafe.Pointer, base unsafe.Pointer, nelp *uint64, width uint64, compar uintptr) unsafe.Pointer

func Lgamma

func Lgamma(x float64) float64

func LgammaR

func LgammaR(x float64, signgamp *int32) float64

func Lgammaf

func Lgammaf(x float32) float32

func LgammafR

func LgammafR(x float32, signgamp *int32) float32
func Link(from *byte, to *byte) int32

func Llabs

func Llabs(a int64) int64

func Lldiv

func Lldiv(num int64, den int64) (int64, int64)

func Llrint

func Llrint(x float64) int64

func Llrintf

func Llrintf(x float32) int64

func Llround

func Llround(x float64) int64

func Llroundf

func Llroundf(x float32) int64

func Localeconv

func Localeconv() *lconv

func Localtime

func Localtime(t *int64) *tm

func LocaltimeR

func LocaltimeR(t *int64, tm *tm) *tm

func Lockf

func Lockf(fd int32, op int32, size int64) int32

func Log

func Log(x float64) float64

func Log1p

func Log1p(x float64) float64

func Log1pf

func Log1pf(x float32) float32

func Log2

func Log2(x float64) float64

func Log2f

func Log2f(x float32) float32

func Log10

func Log10(x float64) float64

func Log10f

func Log10f(x float32) float32

func Logb

func Logb(x float64) float64

func Logbf

func Logbf(x float32) float32

func Logf

func Logf(x float32) float32

func Lrand48

func Lrand48() int64

func Lrint

func Lrint(x float64) int64

func Lrintf

func Lrintf(x float32) int64

func Lround

func Lround(x float64) int64

func Lroundf

func Lroundf(x float32) int64

func Lsearch

func Lsearch(key unsafe.Pointer, base unsafe.Pointer, nelp *uint64, width uint64, compar uintptr) unsafe.Pointer

func Lseek

func Lseek(fd int32, off int64, whence int32) int64

func Lstat

func Lstat(path *byte, buf *stat) int32

func Malloc

func Malloc(nbytes uint64) unsafe.Pointer

func Mblen

func Mblen(s *byte, n uint64) int32

func Mbrlen

func Mbrlen(s *byte, n uint64, st *__mbstate_t) uint64

func Mbrtoc16

func Mbrtoc16(pc16 *uint16, s *byte, n uint64, ps *__mbstate_t) uint64

func Mbrtoc32

func Mbrtoc32(pc32 *uint32, s *byte, n uint64, ps *__mbstate_t) uint64

func Mbrtowc

func Mbrtowc(wc *int32, src *byte, n uint64, st *__mbstate_t) uint64

func Mbsinit

func Mbsinit(st *__mbstate_t) int32

func Mbsnrtowcs

func Mbsnrtowcs(wcs *int32, src **byte, n uint64, wn uint64, st *__mbstate_t) uint64

func Mbsrtowcs

func Mbsrtowcs(ws *int32, src **byte, wn uint64, st *__mbstate_t) uint64

func Mbstowcs

func Mbstowcs(ws *int32, s *byte, wn uint64) uint64

func Mbtowc

func Mbtowc(wc *int32, src *byte, n uint64) int32

func Memccpy

func Memccpy(dest unsafe.Pointer, src unsafe.Pointer, c int32, n uint64) unsafe.Pointer

func Memchr

func Memchr(src unsafe.Pointer, c int32, n uint64) unsafe.Pointer

func Memcmp

func Memcmp(vl unsafe.Pointer, vr unsafe.Pointer, n uint64) int32

func Memcpy

func Memcpy(dest unsafe.Pointer, src unsafe.Pointer, n uint64) unsafe.Pointer

func Memmem

func Memmem(h0 unsafe.Pointer, k uint64, n0 unsafe.Pointer, l uint64) unsafe.Pointer

func Memmove

func Memmove(dest unsafe.Pointer, src unsafe.Pointer, n uint64) unsafe.Pointer

func Mempcpy

func Mempcpy(dest unsafe.Pointer, src unsafe.Pointer, n uint64) unsafe.Pointer

func Memrchr

func Memrchr(m unsafe.Pointer, c int32, n uint64) unsafe.Pointer

func Memset

func Memset(dest unsafe.Pointer, c int32, n uint64) unsafe.Pointer

func Mkdir

func Mkdir(path *byte, mode uint32) int32

func Mkdirat

func Mkdirat(dirfd int32, path *byte, mode uint32) int32

func Mkdtemp

func Mkdtemp(template *byte) *byte

func Mkfifo

func Mkfifo(path *byte, mode uint32) int32

func Mkstemp

func Mkstemp(template *byte) int32

func Mkstemps

func Mkstemps(template *byte, suffixlen int32) int32

func Mktime

func Mktime(tm *tm) int64

func Modf

func Modf(x float64, iptr *float64) float64

func Modff

func Modff(x float32, iptr *float32) float32

func Mrand48

func Mrand48() int64

func Nan

func Nan(s *byte) float64

func Nanf

func Nanf(s *byte) float32

func Nanosleep

func Nanosleep(req *timespec, rem *timespec) int32

func Nearbyint

func Nearbyint(x float64) float64

func Nearbyintf

func Nearbyintf(x float32) float32

func Newlocale

func Newlocale(mask int32, name *byte, base *__locale_struct) *__locale_struct

func Nextafter

func Nextafter(x float64, y float64) float64

func Nextafterf

func Nextafterf(x float32, y float32) float32

func Nexttoward

func Nexttoward(x float64, y float64) float64

func Nexttowardf

func Nexttowardf(x float32, y float64) float32

func Nftw

func Nftw(path *byte, fn uintptr, fd_limit int32, flags int32) int32

func Ngettext

func Ngettext(msgid1 *byte, msgid2 *byte, n uint64) *byte

func NlLanginfo

func NlLanginfo(item int32) *byte

func NlLanginfoL

func NlLanginfoL(item int32, loc *__locale_struct) *byte

func Nrand48

func Nrand48(s *uint16) int64

func Open

func Open(path *byte, flags int32, argptrs unsafe.Pointer) int32

func Openat

func Openat(dirfd int32, path *byte, flags int32, argptrs unsafe.Pointer) int32

func Opendir

func Opendir(name *byte) *__dirstream

func Pclose

func Pclose(f *FILE) int32

func Perror

func Perror(msg *byte)

func Pipe

func Pipe(fds *int32) int32

func Pipe2

func Pipe2(fds *int32, flags int32) int32

func PosixFallocate

func PosixFallocate(fd int32, off int64, len int64) int32

func PosixMemalign

func PosixMemalign(res *unsafe.Pointer, align uint64, len uint64) int32

func Pow

func Pow(x float64, y float64) float64

func Pow10

func Pow10(x float64) float64

func Powf

func Powf(x float32, y float32) float32

func Pread

func Pread(fd int32, buf unsafe.Pointer, n uint64, off int64) int64

func Printf

func Printf(fmt *byte, argptrs unsafe.Pointer) int32

func Psignal

func Psignal(sig int32, msg *byte)

func PthreadAtfork

func PthreadAtfork(prepare uintptr, parent uintptr, child uintptr) int32

func PthreadAttrDestroy

func PthreadAttrDestroy(attr unsafe.Pointer) int32

func PthreadAttrInit

func PthreadAttrInit(attr unsafe.Pointer) int32

func PthreadAttrSetDetachState

func PthreadAttrSetDetachState(attr unsafe.Pointer, state int32) int32

func PthreadAttrSetStackSize

func PthreadAttrSetStackSize(attr unsafe.Pointer, size uintptr) int32

func PthreadCondBroadcast

func PthreadCondBroadcast(c unsafe.Pointer) int32

func PthreadCondDestroy

func PthreadCondDestroy(c unsafe.Pointer) int32

func PthreadCondInit

func PthreadCondInit(c, attr unsafe.Pointer) int32

func PthreadCondSignal

func PthreadCondSignal(c unsafe.Pointer) int32

func PthreadCondTimedwait

func PthreadCondTimedwait(c, m, abstime unsafe.Pointer) int32

func PthreadCondWait

func PthreadCondWait(c, m unsafe.Pointer) int32

func PthreadCondattrDestroy

func PthreadCondattrDestroy(a *pthread_condattr_t) int32

func PthreadCondattrInit

func PthreadCondattrInit(a *pthread_condattr_t) int32

func PthreadCreate

func PthreadCreate(thread, attr, start, arg unsafe.Pointer) int32

func PthreadDetach

func PthreadDetach(t uint64) int32

func PthreadEqual

func PthreadEqual(a, b uint64) int32

func PthreadExit

func PthreadExit(retval unsafe.Pointer)

func PthreadGetSpecific

func PthreadGetSpecific(key keyID) unsafe.Pointer

func PthreadJoin

func PthreadJoin(t uint64, retval unsafe.Pointer) int32

func PthreadKeyCreate

func PthreadKeyCreate(key *keyID, destructor unsafe.Pointer) int32

func PthreadKeyDelete

func PthreadKeyDelete(key keyID) int32

func PthreadMutexAttrSetType

func PthreadMutexAttrSetType(a unsafe.Pointer, typ int32) int32

func PthreadMutexDestroy

func PthreadMutexDestroy(m unsafe.Pointer) int32

func PthreadMutexInit

func PthreadMutexInit(m, attr unsafe.Pointer) int32

func PthreadMutexLock

func PthreadMutexLock(m unsafe.Pointer) int32

func PthreadMutexTimedlock

func PthreadMutexTimedlock(m, abstime unsafe.Pointer) int32

func PthreadMutexTryLock

func PthreadMutexTryLock(m unsafe.Pointer) int32

func PthreadMutexUnlock

func PthreadMutexUnlock(m unsafe.Pointer) int32

func PthreadMutexattrDestroy

func PthreadMutexattrDestroy(a *pthread_mutexattr_t) int32

func PthreadMutexattrGettype

func PthreadMutexattrGettype(a *pthread_mutexattr_t, typ *int32) int32

func PthreadMutexattrInit

func PthreadMutexattrInit(a *pthread_mutexattr_t) int32

func PthreadMutexattrSettype

func PthreadMutexattrSettype(a *pthread_mutexattr_t, typ int32) int32

func PthreadOnce

func PthreadOnce(once, initRoutine unsafe.Pointer) int32

func PthreadRWLockDestroy

func PthreadRWLockDestroy(rwl unsafe.Pointer) int32

func PthreadRWLockInit

func PthreadRWLockInit(rwl, attr unsafe.Pointer) int32

func PthreadRWLockRdlock

func PthreadRWLockRdlock(rwl unsafe.Pointer) int32

func PthreadRWLockUnlock

func PthreadRWLockUnlock(rwl unsafe.Pointer) int32

func PthreadRWLockWrlock

func PthreadRWLockWrlock(rwl unsafe.Pointer) int32

func PthreadRwlockTryrdlock

func PthreadRwlockTryrdlock(rw unsafe.Pointer) int32

func PthreadRwlockTrywrlock

func PthreadRwlockTrywrlock(rw unsafe.Pointer) int32

func PthreadRwlockattrDestroy

func PthreadRwlockattrDestroy(a *pthread_rwlockattr_t) int32

func PthreadRwlockattrInit

func PthreadRwlockattrInit(a *pthread_rwlockattr_t) int32

func PthreadSelf

func PthreadSelf() uint64

func PthreadSetSpecific

func PthreadSetSpecific(key keyID, value unsafe.Pointer) int32

func PthreadYield

func PthreadYield() int32

func Putc

func Putc(c int32, f *FILE) int32

func Putchar

func Putchar(c int32) int32

func Putenv

func Putenv(s *byte) int32

func Puts

func Puts(s *byte) int32

func Putw

func Putw(x int32, f *FILE) int32

func Putwc

func Putwc(c int32, f *FILE) uint32

func Putwchar

func Putwchar(c int32) uint32

func Pwrite

func Pwrite(fd int32, buf unsafe.Pointer, n uint64, off int64) int64

func Qsort

func Qsort(base unsafe.Pointer, nel uint64, width uint64, cmp uintptr)

func QsortR

func QsortR(base unsafe.Pointer, nel uint64, width uint64, cmp uintptr, arg unsafe.Pointer)

func QuickExit

func QuickExit(code int32)

func Raise

func Raise(sig int32) int32

func Rand

func Rand() int32

func RandR

func RandR(seed *uint32) int32

func Random

func Random() int64

func Read

func Read(fd int32, buf unsafe.Pointer, n uint64) int64

func Readdir

func Readdir(d *__dirstream) *dirent

func ReaddirR

func ReaddirR(d *__dirstream, entry *dirent, result **dirent) int32
func Readlink(path *byte, buf *byte, bufsiz uint64) int64

func Readv

func Readv(fd int32, iov *iovec, iovcnt int32) int64

func Realloc

func Realloc(ap unsafe.Pointer, nbytes uint64) unsafe.Pointer

func Reallocarray

func Reallocarray(ptr unsafe.Pointer, m uint64, n uint64) unsafe.Pointer

func Realpath

func Realpath(path *byte, resolved_path *byte) *byte

func Regcomp

func Regcomp(preg *re_pattern_buffer, regex *byte, cflags int32) int32

func Regerror

func Regerror(e int32, preg *re_pattern_buffer, buf *byte, size uint64) uint64

func Regexec

func Regexec(preg *re_pattern_buffer, string *byte, nmatch uint64, pmatch *regmatch_t, eflags int32) int32

func Regfree

func Regfree(preg *re_pattern_buffer)

func Remainder

func Remainder(x float64, y float64) float64

func Remainderf

func Remainderf(x float32, y float32) float32

func Remove

func Remove(path *byte) int32

func Remque

func Remque(element unsafe.Pointer)

func Remquo

func Remquo(x float64, y float64, quo *int32) float64

func Remquof

func Remquof(x float32, y float32, quo *int32) float32

func Rename

func Rename(from *byte, to *byte) int32

func Renameat

func Renameat(fromfd int32, from *byte, tofd int32, to *byte) int32

func Rewind

func Rewind(f *FILE)

func Rewinddir

func Rewinddir(d *__dirstream)

func Rint

func Rint(x float64) float64

func Rintf

func Rintf(x float32) float32

func Rmdir

func Rmdir(path *byte) int32

func Round

func Round(x float64) float64

func Roundf

func Roundf(x float32) float32

func Scalbln

func Scalbln(x float64, n int64) float64

func Scalblnf

func Scalblnf(x float32, n int64) float32

func Scalbn

func Scalbn(x float64, n int32) float64

func Scalbnf

func Scalbnf(x float32, n int32) float32

func Scandir

func Scandir(path *byte, res ***dirent, sel uintptr, cmp uintptr) int32

func Scanf

func Scanf(fmt *byte, argptrs unsafe.Pointer) int32

func Seed48

func Seed48(s *uint16) *uint16

func SemDestroy

func SemDestroy(s unsafe.Pointer) int32

func SemGetvalue

func SemGetvalue(s, out unsafe.Pointer) int32

func SemInit

func SemInit(s unsafe.Pointer, pshared int32, value uint32) int32

func SemPost

func SemPost(s unsafe.Pointer) int32

func SemTimedwait

func SemTimedwait(s, abstime unsafe.Pointer) int32

func SemTrywait

func SemTrywait(s unsafe.Pointer) int32

func SemWait

func SemWait(s unsafe.Pointer) int32

func Setbuf

func Setbuf(f *FILE, buf *byte)

func Setbuffer

func Setbuffer(f *FILE, buf *byte, size uint64)

func Setenv

func Setenv(name, value *byte, overwrite int32) int32

func Setlinebuf

func Setlinebuf(f *FILE)

func Setlocale

func Setlocale(cat int32, name *byte) *byte

func Setstate

func Setstate(state *byte) *byte

func Setvbuf

func Setvbuf(f *FILE, buf *byte, mode int32, size uint64) int32

func Sigaction

func Sigaction(sig int32, act *sigaction, old *sigaction) int32

func Sigaddset

func Sigaddset(set *uint64, sig int32) int32

func Sigdelset

func Sigdelset(set *uint64, sig int32) int32

func Sigemptyset

func Sigemptyset(set *uint64) int32

func Sigfillset

func Sigfillset(set *uint64) int32

func Sigismember

func Sigismember(set *uint64, sig int32) int32

func Signal

func Signal(sig int32, h uintptr) uintptr

func Sin

func Sin(x float64) float64

func Sincos

func Sincos(x float64, sin *float64, cos *float64)

func Sincosf

func Sincosf(x float32, sin *float32, cos *float32)

func Sinf

func Sinf(x float32) float32

func Sinh

func Sinh(x float64) float64

func Sinhf

func Sinhf(x float32) float32

func Sleep

func Sleep(seconds uint32) uint32

func Snprintf

func Snprintf(s *byte, n uint64, fmt *byte, argptrs unsafe.Pointer) int32

func SnprintfProbe

func SnprintfProbe(buf *byte, n int32, depth int32) int32

func Sprintf

func Sprintf(s *byte, fmt *byte, argptrs unsafe.Pointer) int32

func Sqrt

func Sqrt(x float64) float64

func Sqrtf

func Sqrtf(x float32) float32

func Srand

func Srand(s uint32)

func Srand48

func Srand48(seed int64)

func Srandom

func Srandom(seed uint32)

func Sscanf

func Sscanf(s *byte, fmt *byte, argptrs unsafe.Pointer) int32

func Stat

func Stat(path *byte, buf *stat) int32

func Stpcpy

func Stpcpy(d *byte, s *byte) *byte

func Stpncpy

func Stpncpy(d *byte, s *byte, n uint64) *byte

func Strcasecmp

func Strcasecmp(_l *byte, _r *byte) int32

func StrcasecmpL

func StrcasecmpL(l *byte, r *byte, loc *__locale_struct) int32

func Strcasestr

func Strcasestr(h *byte, n *byte) *byte

func Strcat

func Strcat(dest *byte, src *byte) *byte

func Strchr

func Strchr(s *byte, c int32) *byte

func Strchrnul

func Strchrnul(s *byte, c int32) *byte

func Strcmp

func Strcmp(l *byte, r *byte) int32

func Strcoll

func Strcoll(l *byte, r *byte) int32

func StrcollL

func StrcollL(l *byte, r *byte, loc *__locale_struct) int32

func Strcpy

func Strcpy(dest *byte, src *byte) *byte

func Strcspn

func Strcspn(s *byte, c *byte) uint64

func Strdup

func Strdup(s *byte) *byte

func Strerror

func Strerror(e int32) *byte

func StrerrorL

func StrerrorL(e int32, loc *__locale_struct) *byte

func StrerrorR

func StrerrorR(err int32, buf *byte, buflen uint64) int32

func Strfmon

func Strfmon(s *byte, n uint64, fmt *byte, argptrs unsafe.Pointer) int64

func StrfmonL

func StrfmonL(s *byte, n uint64, loc *__locale_struct, fmt *byte, argptrs unsafe.Pointer) int64

func Strftime

func Strftime(s *byte, n uint64, f *byte, tm *tm) uint64

func StrftimeL

func StrftimeL(s *byte, n uint64, f *byte, tm *tm, loc *__locale_struct) uint64

func Strlcat

func Strlcat(d *byte, s *byte, n uint64) uint64

func Strlcpy

func Strlcpy(d *byte, s *byte, n uint64) uint64

func Strlen

func Strlen(s *byte) uint64

func Strncasecmp

func Strncasecmp(_l *byte, _r *byte, n uint64) int32

func StrncasecmpL

func StrncasecmpL(l *byte, r *byte, n uint64, loc *__locale_struct) int32

func Strncat

func Strncat(d *byte, s *byte, n uint64) *byte

func Strncmp

func Strncmp(_l *byte, _r *byte, n uint64) int32

func Strncpy

func Strncpy(d *byte, s *byte, n uint64) *byte

func Strndup

func Strndup(s *byte, n uint64) *byte

func Strnlen

func Strnlen(s *byte, n uint64) uint64

func Strpbrk

func Strpbrk(s *byte, b *byte) *byte

func Strptime

func Strptime(s *byte, f *byte, tm *tm) *byte

func Strrchr

func Strrchr(s *byte, c int32) *byte

func Strsep

func Strsep(str **byte, sep *byte) *byte

func Strsignal

func Strsignal(signum int32) *byte

func Strspn

func Strspn(s *byte, c *byte) uint64

func Strstr

func Strstr(h *byte, n *byte) *byte

func Strtod

func Strtod(s *byte, p **byte) float64

func StrtodL

func StrtodL(s *byte, p **byte, l *__locale_struct) float64

func Strtof

func Strtof(s *byte, p **byte) float32

func StrtofL

func StrtofL(s *byte, p **byte, l *__locale_struct) float32

func Strtoimax

func Strtoimax(nptr *byte, endptr **byte, base int32) int64

func Strtok

func Strtok(s *byte, sep *byte) *byte

func StrtokR

func StrtokR(s *byte, sep *byte, p **byte) *byte

func Strtol

func Strtol(s *byte, p **byte, base int32) int64

func Strtold

func Strtold(s *byte, p **byte) float64

func StrtoldL

func StrtoldL(s *byte, p **byte, l *__locale_struct) float64

func Strtoll

func Strtoll(s *byte, p **byte, base int32) int64

func Strtoul

func Strtoul(s *byte, p **byte, base int32) uint64

func Strtoull

func Strtoull(s *byte, p **byte, base int32) uint64

func Strtoumax

func Strtoumax(nptr *byte, endptr **byte, base int32) uint64

func Strverscmp

func Strverscmp(l0 *byte, r0 *byte) int32

func Strxfrm

func Strxfrm(dest *byte, src *byte, n uint64) uint64

func StrxfrmL

func StrxfrmL(dest *byte, src *byte, n uint64, loc *__locale_struct) uint64

func SurrogateToUtf8

func SurrogateToUtf8(s *byte, hi uint32, lo uint32) uint64

func Swab

func Swab(_src unsafe.Pointer, _dest unsafe.Pointer, n int64)

func Swprintf

func Swprintf(s *int32, n uint64, fmt *int32, argptrs unsafe.Pointer) int32

func Swscanf

func Swscanf(s *int32, fmt *int32, argptrs unsafe.Pointer) int32
func Symlink(target *byte, linkpath *byte) int32

func Sync

func Sync()

func Sysconf

func Sysconf(name int32) int64

func System

func System(command *byte) int32

func Tan

func Tan(x float64) float64

func Tanf

func Tanf(x float32) float32

func Tanh

func Tanh(x float64) float64

func Tanhf

func Tanhf(x float32) float32

func Tcdrain

func Tcdrain(fd int32) int32

func Tcflow

func Tcflow(fd int32, action int32) int32

func Tcflush

func Tcflush(fd int32, queue int32) int32

func Tcgetattr

func Tcgetattr(fd int32, tio *termios) int32

func Tcgetpgrp

func Tcgetpgrp(fd int32) int32

func Tcgetsid

func Tcgetsid(fd int32) int32

func Tcgetwinsize

func Tcgetwinsize(fd int32, wsz *winsize) int32

func Tcsendbreak

func Tcsendbreak(fd int32, dur int32) int32

func Tcsetattr

func Tcsetattr(fd int32, act int32, tio *termios) int32

func Tcsetpgrp

func Tcsetpgrp(fd int32, pgrp int32) int32

func Tcsetwinsize

func Tcsetwinsize(fd int32, wsz *winsize) int32

func Tdelete

func Tdelete(key unsafe.Pointer, rootp *unsafe.Pointer, cmp uintptr) unsafe.Pointer

func Tdestroy

func Tdestroy(root unsafe.Pointer, freekey uintptr)

func Textdomain

func Textdomain(domainname *byte) *byte

func Tfind

func Tfind(key unsafe.Pointer, rootp *unsafe.Pointer, cmp uintptr) unsafe.Pointer

func Tgamma

func Tgamma(x float64) float64

func Tgammaf

func Tgammaf(x float32) float32

func Time

func Time(t *int64) int64

func Timegm

func Timegm(tm *tm) int64

func TimespecGet

func TimespecGet(ts *timespec, base int32) int32

func Toascii

func Toascii(c int32) int32

func Tolower

func Tolower(c int32) int32

func TolowerL

func TolowerL(c int32, l *__locale_struct) int32

func Toupper

func Toupper(c int32) int32

func ToupperL

func ToupperL(c int32, l *__locale_struct) int32

func Towctrans

func Towctrans(wc uint32, trans int32) uint32

func TowctransL

func TowctransL(c uint32, t int32, l *__locale_struct) uint32

func Towlower

func Towlower(wc uint32) uint32

func TowlowerL

func TowlowerL(c uint32, l *__locale_struct) uint32

func Towupper

func Towupper(wc uint32) uint32

func TowupperL

func TowupperL(c uint32, l *__locale_struct) uint32

func Trunc

func Trunc(x float64) float64

func Truncate

func Truncate(path *byte, len int64) int32

func Truncf

func Truncf(x float32) float32

func Tsearch

func Tsearch(key unsafe.Pointer, rootp *unsafe.Pointer, cmp uintptr) unsafe.Pointer

func Twalk

func Twalk(root unsafe.Pointer, action uintptr)

func Tzset

func Tzset()

func Umask

func Umask(mask uint32) uint32

func Uname

func Uname(uts *utsname) int32

func Ungetc

func Ungetc(c int32, f *FILE) int32

func Ungetwc

func Ungetwc(c uint32, f *FILE) uint32
func Unlink(path *byte) int32

func Unlinkat

func Unlinkat(dirfd int32, path *byte, flags int32) int32

func Unsetenv

func Unsetenv(name *byte) int32

func Uselocale

func Uselocale(loc *__locale_struct) *__locale_struct

func Usleep

func Usleep(useconds uint32) int32

func Utimensat

func Utimensat(dirfd int32, path *byte, times *timespec, flags int32) int32

func Utimes

func Utimes(path *byte, times *timeval) int32

func Vasprintf

func Vasprintf(s **byte, fmt *byte, ap *__va_list_tag) int32

func Vdprintf

func Vdprintf(fd int32, fmt *byte, ap *__va_list_tag) int32

func Verr

func Verr(status int32, fmt *byte, ap *__va_list_tag)

func Verrx

func Verrx(status int32, fmt *byte, ap *__va_list_tag)

func Versionsort

func Versionsort(a **dirent, b **dirent) int32

func Vfprintf

func Vfprintf(f *FILE, fmt *byte, ap *__va_list_tag) int32

func Vfscanf

func Vfscanf(f *FILE, fmt *byte, ap *__va_list_tag) int32

func Vfwprintf

func Vfwprintf(f *FILE, fmt *int32, ap *__va_list_tag) int32

func Vfwscanf

func Vfwscanf(f *FILE, fmt *int32, ap *__va_list_tag) int32

func Vprintf

func Vprintf(fmt *byte, ap *__va_list_tag) int32

func Vscanf

func Vscanf(fmt *byte, ap *__va_list_tag) int32

func Vsnprintf

func Vsnprintf(s *byte, n uint64, fmt *byte, ap *__va_list_tag) int32

func Vsprintf

func Vsprintf(s *byte, fmt *byte, ap *__va_list_tag) int32

func Vsscanf

func Vsscanf(s *byte, fmt *byte, ap *__va_list_tag) int32

func Vswprintf

func Vswprintf(s *int32, n uint64, fmt *int32, ap *__va_list_tag) int32

func Vswscanf

func Vswscanf(s *int32, fmt *int32, ap *__va_list_tag) int32

func Vwarn

func Vwarn(fmt *byte, ap *__va_list_tag)

func Vwarnx

func Vwarnx(fmt *byte, ap *__va_list_tag)

func Vwprintf

func Vwprintf(fmt *int32, ap *__va_list_tag) int32

func Vwscanf

func Vwscanf(fmt *int32, ap *__va_list_tag) int32

func Warn

func Warn(fmt *byte, argptrs unsafe.Pointer)

func Warnx

func Warnx(fmt *byte, argptrs unsafe.Pointer)

func Wcpcpy

func Wcpcpy(d *int32, s *int32) *int32

func Wcpncpy

func Wcpncpy(d *int32, s *int32, n uint64) *int32

func Wcrtomb

func Wcrtomb(s *byte, wc int32, st *__mbstate_t) uint64

func Wcscasecmp

func Wcscasecmp(l *int32, r *int32) int32

func WcscasecmpL

func WcscasecmpL(l *int32, r *int32, locale *__locale_struct) int32

func Wcscat

func Wcscat(dest *int32, src *int32) *int32

func Wcschr

func Wcschr(s *int32, c int32) *int32

func Wcscmp

func Wcscmp(l *int32, r *int32) int32

func Wcscoll

func Wcscoll(l *int32, r *int32) int32

func WcscollL

func WcscollL(l *int32, r *int32, loc *__locale_struct) int32

func Wcscpy

func Wcscpy(d *int32, s *int32) *int32

func Wcscspn

func Wcscspn(s *int32, c *int32) uint64

func Wcsdup

func Wcsdup(s *int32) *int32

func Wcsftime

func Wcsftime(wcs *int32, n uint64, f *int32, tm *tm) uint64

func WcsftimeL

func WcsftimeL(wcs *int32, n uint64, f *int32, tm *tm, loc *__locale_struct) uint64

func Wcslen

func Wcslen(s *int32) uint64

func Wcsncasecmp

func Wcsncasecmp(l *int32, r *int32, n uint64) int32

func WcsncasecmpL

func WcsncasecmpL(l *int32, r *int32, n uint64, locale *__locale_struct) int32

func Wcsncat

func Wcsncat(d *int32, s *int32, n uint64) *int32

func Wcsncmp

func Wcsncmp(l *int32, r *int32, n uint64) int32

func Wcsncpy

func Wcsncpy(d *int32, s *int32, n uint64) *int32

func Wcsnlen

func Wcsnlen(s *int32, n uint64) uint64

func Wcsnrtombs

func Wcsnrtombs(dst *byte, wcs **int32, wn uint64, n uint64, st *__mbstate_t) uint64

func Wcspbrk

func Wcspbrk(s *int32, b *int32) *int32

func Wcsrchr

func Wcsrchr(s *int32, c int32) *int32

func Wcsrtombs

func Wcsrtombs(s *byte, ws **int32, n uint64, st *__mbstate_t) uint64

func Wcsspn

func Wcsspn(s *int32, c *int32) uint64

func Wcsstr

func Wcsstr(h *int32, n *int32) *int32

func Wcstod

func Wcstod(s *int32, p **int32) float64

func Wcstof

func Wcstof(s *int32, p **int32) float32

func Wcstoimax

func Wcstoimax(s *int32, p **int32, base int32) int64

func Wcstok

func Wcstok(s *int32, sep *int32, p **int32) *int32

func Wcstol

func Wcstol(s *int32, p **int32, base int32) int64

func Wcstold

func Wcstold(s *int32, p **int32) float64

func Wcstoll

func Wcstoll(s *int32, p **int32, base int32) int64

func Wcstombs

func Wcstombs(s *byte, ws *int32, n uint64) uint64

func Wcstoul

func Wcstoul(s *int32, p **int32, base int32) uint64

func Wcstoull

func Wcstoull(s *int32, p **int32, base int32) uint64

func Wcstoumax

func Wcstoumax(s *int32, p **int32, base int32) uint64

func Wcswcs

func Wcswcs(haystack *int32, needle *int32) *int32

func Wcswidth

func Wcswidth(wcs *int32, n uint64) int32

func Wcsxfrm

func Wcsxfrm(dest *int32, src *int32, n uint64) uint64

func WcsxfrmL

func WcsxfrmL(dest *int32, src *int32, n uint64, loc *__locale_struct) uint64

func Wctob

func Wctob(c uint32) int32

func Wctomb

func Wctomb(s *byte, wc int32) int32

func Wctrans

func Wctrans(class *byte) int32

func WctransL

func WctransL(s *byte, l *__locale_struct) int32

func Wctype

func Wctype(s *byte) uint64

func WctypeL

func WctypeL(s *byte, l *__locale_struct) uint64

func Wcwidth

func Wcwidth(wc int32) int32

func Wmemchr

func Wmemchr(s *int32, c int32, n uint64) *int32

func Wmemcmp

func Wmemcmp(l *int32, r *int32, n uint64) int32

func Wmemcpy

func Wmemcpy(d *int32, s *int32, n uint64) *int32

func Wmemmove

func Wmemmove(d *int32, s *int32, n uint64) *int32

func Wmemset

func Wmemset(d *int32, c int32, n uint64) *int32

func Wprintf

func Wprintf(fmt *int32, argptrs unsafe.Pointer) int32

func Write

func Write(fd int32, buf unsafe.Pointer, n uint64) int64

func Writev

func Writev(fd int32, iov *iovec, iovcnt int32) int64

func Wscanf

func Wscanf(fmt *int32, argptrs unsafe.Pointer) int32

func Y0

func Y0(x float64) float64

func Y1

func Y1(x float64) float64

func Yn

func Yn(n int32, x float64) float64

Types

type FILE

type FILE = _c2go_FILE

FILE is the exported public alias for the opaque handle. A downstream c2go package that only forward-declares FILE (via <stdio.h>'s `typedef struct _c2go_FILE FILE;`) cannot name the unexported `_c2go_FILE`, so c2go-bind qualifies `*_c2go_FILE` → `*libc.FILE` in its generated bindings (see libcTypeRefs). The alias makes those pointers type-identical to what Fopen/Fwrite/Fclose/… return and accept here.

func C2goStdfile

func C2goStdfile(which int32) *FILE

func Fdopen

func Fdopen(fd int32, mode *byte) *FILE

func Fmemopen

func Fmemopen(buf unsafe.Pointer, size uint64, mode *byte) *FILE

func Fopen

func Fopen(filename *byte, mode *byte) *FILE

func Fopencookie

func Fopencookie(cookie unsafe.Pointer, mode *byte, iofuncs cookie_io_functions_t) *FILE

func Freopen

func Freopen(filename *byte, mode *byte, f *FILE) *FILE

func OpenMemstream

func OpenMemstream(bufp **byte, sizep *uint64) *FILE

func Popen

func Popen(command *byte, mode *byte) *FILE

func Tmpfile

func Tmpfile() *FILE

Directories

Path Synopsis
Package c2goabi publishes the compile-time contracts shared by C2Go-generated packages, c2go-libc, and the active Go toolchain.
Package c2goabi publishes the compile-time contracts shared by C2Go-generated packages, c2go-libc, and the active Go toolchain.
Package dl implements the external native-call boundary for c2go `unmanaged extern` symbols.
Package dl implements the external native-call boundary for c2go `unmanaged extern` symbols.
internal
finalize
Package finalize coordinates package-local cleanup that must run from the C2Go C exit path.
Package finalize coordinates package-local cleanup that must run from the C2Go C exit path.
posixdir
Package posixdir contains the Go-owned state and stateless record filling shared by libc's handle-based DIR carrier and mlib's direct-pointer carrier.
Package posixdir contains the Go-owned state and stateless record filling shared by libc's handle-based DIR carrier and mlib's direct-pointer carrier.
posixstdio
Package posixstdio contains state shared by the unmanaged and managed FILE carriers.
Package posixstdio contains state shared by the unmanaged and managed FILE carriers.
posixsync
Package posixsync contains state algorithms shared by the unmanaged libc carriers and the managed mlib carriers.
Package posixsync contains state algorithms shared by the unmanaged libc carriers and the managed mlib carriers.
Package mlib implements managed variants of stateful libc APIs.
Package mlib implements managed variants of stateful libc APIs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址