Site icon EfmSoft

What does errno 41 (ENOTEMPTY) mean?

 
Could be also:
ConstantTypeOS
KERN_LOCK_OWNED_SELFKern returnMac
ippStsI18nMsgCatalogInvalidIntel Ipp StatusAny
EWOULDBLOCKerrnoLinux
EPROTOTYPEerrnoMac
ELNRNGerrnoSolaris
SECURITY_SYSTEMBugCheck CodeWindows
Previous Next
ELNRNG ENOMSG

ENOTEMPTY

ENOTEMPTY means a directory-removal operation encountered a directory that still has entries other than the special self and parent links. The important question is not merely whether a file explorer view appears empty: hidden entries, another process creating a file concurrently, a mount or reparse-point boundary, and a difference between the checked path and the deleted path can all change the result.

For native Windows file APIs, retain the original API return value and GetLastError(); this UCRT status may be supplied by a compatibility layer rather than by the underlying API itself. Do not recursively delete on receipt of this status unless recursive removal is an intentional operation with a defined safety boundary.

Safe diagnostic sequence

References


Looking for a different code? Search another status or error code.

Exit mobile version