lkml.org 
[lkml]   [2008]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] alternative to sys_indirect, part 1
From
From: Linus Torvalds <torvalds@linux-foundation.org>
Date: Thu, 24 Apr 2008 08:29:14 -0700 (PDT)

>
>
> On Thu, 24 Apr 2008, Alan Cox wrote:
> >
> > Given we will never have 2^32 socket types, and in a sense this is part
> > of the type why not just use
> >
> > socket(PF_INET, SOCK_STREAM|SOCK_CLOEXEC, ...)
>
> Ok, I have to admit that I find this very appealing. It looks much
> cleaner, but perhaps more importantly, it also looks both readable _and_
> easier to use for the user-space programmer.

Me too.


\
 
 \ /
  Last update: 2008-04-24 17:41    [W:0.244 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site