Update.
2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk> * misc/sys/cdefs.h (__attribute_format_strfmon__): Define. * stdlib/monetary.h: Add strfmon format attributes.
This commit is contained in:
parent
66e23ba14b
commit
d9af88677f
|
@ -1,3 +1,8 @@
|
||||||
|
2000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
|
||||||
|
|
||||||
|
* misc/sys/cdefs.h (__attribute_format_strfmon__): Define.
|
||||||
|
* stdlib/monetary.h: Add strfmon format attributes.
|
||||||
|
|
||||||
2000-12-28 Roland McGrath <roland@frob.com>
|
2000-12-28 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
|
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Header file for monetary value formatting functions.
|
/* Header file for monetary value formatting functions.
|
||||||
Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -37,7 +37,8 @@ __BEGIN_DECLS
|
||||||
|
|
||||||
/* Formatting a monetary value according to the current locale. */
|
/* Formatting a monetary value according to the current locale. */
|
||||||
extern ssize_t strfmon (char *__restrict __s, size_t __maxsize,
|
extern ssize_t strfmon (char *__restrict __s, size_t __maxsize,
|
||||||
__const char *__restrict __format, ...) __THROW;
|
__const char *__restrict __format, ...)
|
||||||
|
__THROW __attribute_format_strfmon__ (3, 4);
|
||||||
|
|
||||||
#ifdef __USE_GNU
|
#ifdef __USE_GNU
|
||||||
# include <xlocale.h>
|
# include <xlocale.h>
|
||||||
|
@ -45,7 +46,8 @@ extern ssize_t strfmon (char *__restrict __s, size_t __maxsize,
|
||||||
/* Formatting a monetary value according to the current locale. */
|
/* Formatting a monetary value according to the current locale. */
|
||||||
extern ssize_t __strfmon_l (char *__restrict __s, size_t __maxsize,
|
extern ssize_t __strfmon_l (char *__restrict __s, size_t __maxsize,
|
||||||
__locale_t loc,
|
__locale_t loc,
|
||||||
__const char *__restrict __format, ...) __THROW;
|
__const char *__restrict __format, ...)
|
||||||
|
__THROW __attribute_format_strfmon__ (4, 5);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
Loading…
Reference in New Issue