[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #7787] New macro: AX_PRINTF_SIZE_T

From: Daniel Richard G.
Subject: [patch #7787] New macro: AX_PRINTF_SIZE_T
Date: Tue, 29 May 2012 15:57:03 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/11.10 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19


                 Summary: New macro: AX_PRINTF_SIZE_T
                 Project: GNU Autoconf Archive
            Submitted by: iskunk
            Submitted on: Tue 29 May 2012 03:57:02 PM GMT
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any




DESCRIPTION: Check for the appropriate printf() format string modifier to use
with a size_t argument. If a suitable modifier is found, it is AC_DEFINE'd as
PRI_SIZE_T_MODIFIER, and can be used in C code as e.g.

    printf("Size = %" PRI_SIZE_T_MODIFIER "u bytes.\n", sizeof(foo));

AUTHOR: Daniel Richard G. <address@hidden>

LICENSE: Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright notice and
this notice are preserved. This file is offered as-is, without any warranty.

SOURCE CODE: See attached.


File Attachments:

Date: Tue 29 May 2012 03:57:02 PM GMT  Name: ax_printf_size_t.m4  Size: 2kB  
By: iskunk



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]