lkml.org 
[lkml]   [1997]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: procfs problems
On Tue, 29 Apr 1997, yuri mironoff wrote:
> Why does the machine readable interface have to be through /proc
> at all? All you're doing here is converting binary to ascii and then
> to binary again. Why not implement it in ioctl and then call the same
> functions in the /proc API. ie:
> [...]
> It would make things much more uniform. People who want to use Perl,
> awk and cat could parse /proc and others who need more speed and efficiency
> could use the ioctl() interface.

You just described the sysctl() interface.

-Dan


\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site