summaryrefslogtreecommitdiff
path: root/cppe/include/IceE/SafeStdio.h
blob: 759101ea9f4d6bb125e82b0a62c4a10657d14802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// **********************************************************************
//
// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
//
// This copy of Ice-E is licensed to you under the terms described in the
// ICEE_LICENSE file included in this distribution.
//
// **********************************************************************

#ifndef ICEE_SAFE_STDIO_H
#define ICEE_SAFE_STDIO_H

#include <IceE/Config.h>

namespace Ice
{

//
// This is for two reasons.
// 1. snprintf is _snprintf under windows.
// 2. This function ensures the buffer is null terminated.
//
ICE_API std::string printfToString(const char*, ...);

}

#endif