Source-Changes-HG archive

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

[src/trunk]: src/include add the signal safe prototypes



details:   https://anonhg.NetBSD.org/src/rev/2eea55952c82
branches:  trunk
changeset: 786636:2eea55952c82
user:      christos <christos%NetBSD.org@localhost>
date:      Sat May 04 18:30:14 2013 +0000

description:
add the signal safe prototypes

diffstat:

 include/stdio.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r df613fdd886d -r 2eea55952c82 include/stdio.h
--- a/include/stdio.h   Sat May 04 15:37:39 2013 +0000
+++ b/include/stdio.h   Sat May 04 18:30:14 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: stdio.h,v 1.87 2013/04/26 17:37:06 joerg Exp $ */
+/*     $NetBSD: stdio.h,v 1.88 2013/05/04 18:30:14 christos Exp $      */
 
 /*-
  * Copyright (c) 1990, 1993
@@ -576,6 +576,12 @@
     __va_list) __scanflike(3, 0);
 int     vsscanf_l(const char * __restrict, locale_t, const char * __restrict,
     __va_list) __scanflike(3, 0);
+#ifdef _NETBSD_SOURCE
+int    snprintf_ss(char *restrict, size_t, const char * __restrict, ...)
+    __printflike(3, 4);
+int    vsnprintf_ss(char *restrict, size_t, const char * __restrict, __va_list)
+    __printflike(3, 0);
+#endif
 __END_DECLS
 #endif
 



Home | Main Index | Thread Index | Old Index