lkml.org 
[lkml]   [2016]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRE: [PATCH v4] sscanf: implement basic character sets
From
Note: CC me

I just read on lwn about the implementation of `%[` in sscanf. Just
wanted to point out my implementation (which supports `]` ranges (`-`)
and negation (`^`)) and let you know that you are free to take
code/inspiration from it:

https://github.com/ShabbyX/kio/blob/master/src/scanf.c#L398

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