History log of /freebsd-current/stand/libsa/printf.c
Revision Date Author Comments
# 3e15b01d 22-Feb-2024 Warner Losh <imp@FreeBSD.org>

libsa: Remove redundant sys/cdefs.h

Sponsored by: Netflix


# 6e28a6bc 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

stand: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 0a35c4b3 24-Sep-2021 Colin Percival <cperciva@FreeBSD.org>

loader printf: Profile with TSLOG

Now that the loader tslog code doesn't call printf, we can profile
printf using TSLOG. On an EC2 c5.xlarge instance, we spend roughly
45 ms here (out of roughly 500 ms), presumably due to the time spent
writing output to the console.

MFC after: 1 week
Sponsored by: https://www.patreon.com/cperciva


# 98e28b71 01-Nov-2019 Toomas Soome <tsoome@FreeBSD.org>

loader: asprinf does crash arm64 due to missing NULL pointer check

PCHAR macro needs to check if d is NULL.

MFC after: 3 days


# 5e84b578 17-Jan-2019 Toomas Soome <tsoome@FreeBSD.org>

libsa: add asprintf()

asprintf() is a nice tool for string processing.

MFC after: 2 weeks


# 3e9c7874 05-Jun-2018 Ian Lepore <ian@FreeBSD.org>

Make the v*printf() functions in libsa return int instead of void.
This makes them compatible with the C standard signatures, avoiding
spurious mismatch errors in the places where the oddball requirements
of standalone code end up putting two declarations of the same function
in play.


# 1851d70d 05-Jun-2018 Ian Lepore <ian@FreeBSD.org>

Add vsnprintf() to libsa. Alpha-sort the printf prototypes in stand.h.

I'm not sure why the v*printf() functions in libsa return void instead of
int, but this maintains that convention for the new function.


# ca987d46 14-Nov-2017 Warner Losh <imp@FreeBSD.org>

Move sys/boot to stand. Fix all references to new location

Sponsored by: Netflix