lkml.org 
[lkml]   [2010]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Extended error reporting to user space?
> I'd wondered about some form of halfway house where the error
> value is expanded but could be truncated for compatibility - i.e.

Who would do the truncation?

> if at the moment we had:
>
> return -EINVAL;
>
> it would become:
>
> return ERRORNUM(EINVAL, BADLENGTH);

x86 only has about 12 bits in the current ABI btw.

-Andi


\
 
 \ /
  Last update: 2010-02-17 21:25    [W:0.352 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site