#565 closed enhancement (fixed)
scanf family of functions
Reported by: | Jiri Svoboda | Owned by: | Jiri Svoboda |
---|---|---|---|
Priority: | major | Milestone: | 0.7.2 |
Component: | helenos/lib/c | Version: | mainline |
Keywords: | Cc: | ||
Blocker for: | Depends on: | ||
See also: |
Description
The *scanf family of functions is missing from HelenOS C library. This is a notable obstacle for porting software as it is quite commonly used.
Change History (7)
comment:1 Changed 5 years ago by
Component: | helenos/unspecified → helenos/lib/c |
---|---|
Owner: | set to Jakub Jermář |
comment:2 Changed 5 years ago by
comment:3 Changed 5 years ago by
Right, I didn't notice because it's defined as posix_scanf(). and ungetc() is there as well. libposix probably has quite a few functions which should actually be in the C library. We could move those, although perhaps that's a nice opportunity to review and improve them.
comment:4 Changed 4 years ago by
This would be really useful. I don't think the function can be simly copy-and-pasted over since both libc and libposix each use their own stdio virtualization interface.
comment:5 Changed 9 months ago by
Owner: | changed from Jakub Jermář to Jiri Svoboda |
---|---|
Status: | new → accepted |
Work in progress.
comment:6 Changed 8 months ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Commit This is a brand new (correct) implementation.
comment:7 Changed 7 months ago by
Milestone: | → 0.7.2 |
---|
scanf
is currently implemented in libposix. Are there any objections to moving it intolibc
?