Registry / utility / libc
library1.73.0gogounverified

Provides runtime support for programs generated by the ccgo C to Go transpiler, including TLS and signal handling.

go get modernc.org/libc
INSTALL
IMPORT
SIG · LIBC
L
libc
utilitygov1.73.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

libc
modernc.org/libc

Create a new TLS instance for C thread support

package main import ( "modernc.org/libc" ) func main() { tls := libc.NewTLS() _ = tls }
Debug
Known issues
gotchaSignal handling is not coordinated with the Go runtime, which may cause issues.
fix
Avoid using signals in translated C code or handle them carefully.
affects: all
Upgrade
Version history
1.73.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libc — go get libc · libregistry