Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 6 years ago

Closed 12 months ago

Last modified 11 months ago

#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 6 years ago by Jiri Svoboda

Component: helenos/unspecifiedhelenos/lib/c
Owner: set to Jakub Jermář

comment:2 Changed 6 years ago by Vojtech Horky

scanf is currently implemented in libposix. Are there any objections to moving it into libc?

comment:3 Changed 6 years ago by Jiri Svoboda

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 Jiri Svoboda

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 13 months ago by Jiri Svoboda

Owner: changed from Jakub Jermář to Jiri Svoboda
Status: newaccepted

Work in progress.

comment:6 Changed 12 months ago by Jiri Svoboda

Resolution: fixed
Status: acceptedclosed

Commit This is a brand new (correct) implementation.

comment:7 Changed 11 months ago by Jakub Jermář

Milestone: 0.7.2
Note: See TracTickets for help on using tickets.