EISNAM
Linux / POSIXERRORCriticalDeviceHIGH confidence

Is a Named Type File

Production Risk

Not seen in modern Linux.

What this means

EISNAM (errno 120) is a XENIX compatibility error returned when an operation requires a non-named file but a named type file was provided.

Why it happens
  1. 1XENIX-compatibility ioctl on a named type file (historical)
How to reproduce

XENIX named-file operation (historical).

trigger — this will error
trigger — this will error
// errno = EISNAM from XENIX compatibility code

expected output

Is a named type file (EISNAM)

Fix

Use POSIX file types

WHEN If maintaining XENIX-compatible code

Use POSIX file types
// XENIX named files are not used on modern Linux

Why this works

XENIX is obsolete on modern Linux.

Sources
Official documentation ↗

Linux Programmer Manual errno(3)

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All Linux / POSIX errors