Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1623 → Rev 1653

/uspace/trunk/libc/generic/io/printf.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
#include <io/printf_core.h>
#include <stdio.h>
#include <stdio.h>
50,3 → 56,9
 
 
 
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/snprintf.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
#include <stdarg.h>
#include <stdio.h>
#include <io/printf_core.h>
48,3 → 54,9
 
return ret;
}
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/sprintf.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
#include <stdarg.h>
#include <stdio.h>
#include <io/printf_core.h>
47,3 → 53,9
 
return ret;
}
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/io.c
24,6 → 24,12
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
#include <libc.h>
104,3 → 110,9
}
 
 
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/vprintf.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
#include <stdarg.h>
#include <stdio.h>
#include <unistd.h>
51,3 → 57,9
}
 
 
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/vsnprintf.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
103,3 → 109,9
}
 
 
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/printf_core.c
27,8 → 27,11
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/**
* @file print.c
* @file
* @brief Printing functions.
*/
 
412,7 → 415,7
* - s Print zero terminated string. If a NULL value is passed as value, "(NULL)" is printed instead.
*
* - P, p Print value of a pointer. Void * value is expected and it is printed in hexadecimal notation with prefix
* (as with \%#X or \%#x for 32bit or \%#X / \%#x for 64bit long pointers).
* (as with '\%#X' or '\%#x' for 32bit or '\%#X' or '\%#x' for 64bit long pointers).
*
* - b Print value as unsigned binary number. Prefix is not printed by default. (Nonstandard extension.)
*
685,3 → 688,9
return -counter;
}
 
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/stream.c
27,7 → 27,13
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
 
#include <io/io.h>
#include <io/stream.h>
#include <string.h>
181,3 → 187,9
return -1;
return streams[fd].phone;
}
 
 
/** @}
*/
/uspace/trunk/libc/generic/io/vsprintf.c
26,6 → 26,12
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
 
/** @addtogroup libc
* @{
*/
/** @file
*/
 
#include <stdarg.h>
#include <stdio.h>
#include <io/printf_core.h>
41,3 → 47,9
return vsnprintf(str, (size_t)-1, fmt, ap);
}
 
 
 
/** @}
*/