lkml.org 
[lkml]   [2013]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] lib: fix trivial typo in the comment
On Wed, 24 Apr 2013, Andy Shevchenko wrote:

> >> - * This routine returns 0 iff the first character is one of 'Yy1Nn0'.
> >> + * This routine returns 0 if the first character is one of 'Yy1Nn0'.
> >> * Otherwise it will return -EINVAL. Value pointed to by res is
> >> * updated upon finding a match.
> >> */
> >
> > And this is correct because ... ?
>
> So, in this case it means "if and only if", true?

Yes, and that's in accordance with what the function does, isn't it?

Thanks,

--
Jiri Kosina
SUSE Labs


\
 
 \ /
  Last update: 2013-04-24 19:21    [W:0.066 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site