"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libs/src/sio/Sprint.3" between
xinetd-2.3.15.tar.gz and xinetd-2.3.15.4.tar.xz

About: xinetd is a secure replacement for inetd, the internet services daemon (openSUSE fork).

Sprint.3  (xinetd-2.3.15):Sprint.3  (xinetd-2.3.15.4.tar.xz)
skipping to change at line 68 skipping to change at line 68
x,X specify hexadecimal conversion. For x the hex digits used are 0 123456789abcdef. For X the hex x,X specify hexadecimal conversion. For x the hex digits used are 0 123456789abcdef. For X the hex
digits used are 0123456789ABCDEF. There is no leading 0x or 0X (use the '#' flag for that). digits used are 0123456789ABCDEF. There is no leading 0x or 0X (use the '#' flag for that).
c specifies character conversion; the argument should be of type char. c specifies character conversion; the argument should be of type char.
s specifies string conversion; the argument should be of type cha r *. s specifies string conversion; the argument should be of type cha r *.
f specifies conversion to the form [-]ddd.dddd. The number o f digits after the decimal point f specifies conversion to the form [-]ddd.dddd. The number o f digits after the decimal point
depends on precision; the default is 6. If the precision is 0, the decimal point is not depends on precision; the default is 6. If the precision is 0, the decimal point is not
printed (this can be overriden with the '#' flag). e, E specify conversion to the form printed (this can be overridden with the '#' flag). e, E specify conversion to the form
[-]ddd.dddd[eE][+-]ddd. The number of digits after the decimal point depends on precision; the [-]ddd.dddd[eE][+-]ddd. The number of digits after the decimal point depends on precision; the
default is 6. If the precision is 0, the decimal point is no t printed (this can be overriden default is 6. If the precision is 0, the decimal point is not printed (this can be overridden
with the '#' flag). The exponent is at least 2 digit wide. with the '#' flag). The exponent is at least 2 digit wide.
g,G specify a conversion using the e,E format respectively if the exponent is less than -4 or g,G specify a conversion using the e,E format respectively if the exponent is less than -4 or
greater than or equal to the precision; otherwise the f format is used. greater than or equal to the precision; otherwise the f format is used.
p is used to print pointers (type void *, or char * if the compil er does not support the former). p is used to print pointers (type void *, or char * if the compil er does not support the former).
n expects a int * argument and puts in that integer the number of characters already printed by n expects a int * argument and puts in that integer the number of characters already printed by
this call. this call.
% is used to print a %. % is used to print a %.
If an unknown conversion character is specified, the percent sign followe d by that character will be If an unknown conversion character is specified, the percent sign followe d by that character will be
printed. printed.
RETURN VALUE RETURN VALUE
If no error occured, Sprint() returns the number of characters print ed. In case of error, it returns If no error occurred, Sprint() returns the number of characters print ed. In case of error, it returns
SIO_ERR. SIO_ERR.
BUGS BUGS
This is a list of differences between Sprint() and the ANSI C Standard pr intf(): This is a list of differences between Sprint() and the ANSI C Standard pr intf():
Sprint() does not support non-removal of trailing zeroes for g and G conv ersions when the '#' flag is Sprint() does not support non-removal of trailing zeroes for g and G conv ersions when the '#' flag is
used. used.
Sprint() does not support the h and L modifiers. Sprint() does not support the h and L modifiers.
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)