Rev 1617 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1617 | Rev 1653 | ||
---|---|---|---|
Line 25... | Line 25... | ||
25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | */ |
28 | */ |
29 | 29 | ||
- | 30 | /** @addtogroup libc |
|
- | 31 | * @{ |
|
- | 32 | */ |
|
30 | /** |
33 | /** |
31 | * @file print.c |
34 | * @file |
32 | * @brief Printing functions. |
35 | * @brief Printing functions. |
33 | */ |
36 | */ |
34 | 37 | ||
35 | #include <unistd.h> |
38 | #include <unistd.h> |
36 | #include <stdio.h> |
39 | #include <stdio.h> |
Line 410... | Line 413... | ||
410 | * - c Print single character. |
413 | * - c Print single character. |
411 | * |
414 | * |
412 | * - s Print zero terminated string. If a NULL value is passed as value, "(NULL)" is printed instead. |
415 | * - s Print zero terminated string. If a NULL value is passed as value, "(NULL)" is printed instead. |
413 | * |
416 | * |
414 | * - P, p Print value of a pointer. Void * value is expected and it is printed in hexadecimal notation with prefix |
417 | * - P, p Print value of a pointer. Void * value is expected and it is printed in hexadecimal notation with prefix |
415 | * (as with \%#X or \%#x for 32bit or \%#X / \%#x for 64bit long pointers). |
418 | * (as with '\%#X' or '\%#x' for 32bit or '\%#X' or '\%#x' for 64bit long pointers). |
416 | * |
419 | * |
417 | * - b Print value as unsigned binary number. Prefix is not printed by default. (Nonstandard extension.) |
420 | * - b Print value as unsigned binary number. Prefix is not printed by default. (Nonstandard extension.) |
418 | * |
421 | * |
419 | * - o Print value as unsigned octal number. Prefix is not printed by default. |
422 | * - o Print value as unsigned octal number. Prefix is not printed by default. |
420 | * |
423 | * |
Line 683... | Line 686... | ||
683 | minus_out: |
686 | minus_out: |
684 | async_serialize_end(); |
687 | async_serialize_end(); |
685 | return -counter; |
688 | return -counter; |
686 | } |
689 | } |
687 | 690 | ||
- | 691 | ||
- | 692 | ||
- | 693 | /** @} |
|
- | 694 | */ |
|
- | 695 | ||
- | 696 |