Home
last modified time | relevance | path

Searched refs:linux_errno (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/lib9p/common/
H A Dutils.c799 lookup_linux_errno(uint32_t linux_errno, char *buf, size_t len) in lookup_linux_errno() argument
911 if ((size_t)linux_errno < N(table) && table[linux_errno] != NULL) in lookup_linux_errno()
912 return (table[linux_errno]); in lookup_linux_errno()
913 if (linux_errno <= ERANGE) in lookup_linux_errno()
914 return (strerror((int)linux_errno)); in lookup_linux_errno()
915 (void) snprintf(buf, len, "Unknown error %d", linux_errno); in lookup_linux_errno()