Skip to content
callcount

os.NewSyscallError

standard library

The 3918th most-called standard-library function by production calls. Called 167 times across 30 modules; 153 of those run outside tests and generated code.

1% in production calls vs 2026-W37 (152 → 153)

All of os → Docs on pkg.go.dev ↗

prod calls
153
non-test, non-generated
all calls
167
total callsites
modules
30
distinct callers
in loop
7%
of prod calls
in tests
8%
14 calls
resolved
100%
to a known target

resolution mix

How each call resolves

How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →

  • Package function100%A direct call to an exported package function, resolved by type.

who calls this

Notable callers

Production calls into NewSyscallError from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 167, prioritizing in-loop and non-test usage. We link to source, never display it.

NewSyscallError · 12 of 167 callsites

top callers

The modules that reach for it

The modules that call NewSyscallError most in this snapshot.

  • github.com/panjf2000/gnet4024%
  • github.com/opencontainers/runc2314%
  • github.com/u-root/u-root159%
  • github.com/database64128/tfo-go/v295%
  • github.com/prometheus-community/pro-bing95%

siblings

More from os

The other most-called functions in this package. See all →