~ubuntu-branches/ubuntu/saucy/nut/saucy

« back to all changes in this revision

Viewing changes to include/proto.h

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2005-07-20 19:48:50 UTC
  • mto: (16.1.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20050720194850-oo61wjr33rrx2mre
Tags: upstream-2.0.2
ImportĀ upstreamĀ versionĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "attribute.h"
 
2
 
1
3
#if !defined(HAVE_SNPRINTF) || !defined(HAVE_VSNPRINTF)
2
4
 
3
5
/* Define this as a fall through, HAVE_STDARG_H is probably already set */
28
30
# endif
29
31
#endif
30
32
 
31
 
int snprintf (char *str, size_t count, const char *fmt, ...);
 
33
int snprintf (char *str, size_t count, const char *fmt, ...)
 
34
        __attribute__ ((__format__ (__printf__, 3, 4)));
32
35
int vsnprintf (char *str, size_t count, const char *fmt, va_list arg);
33
36
#endif
34
37
 
51
54
#define         TIOCM_SR        0020            /* secondary receive */
52
55
#endif
53
56
 
54
 
#ifndef HAVE_STRLCPY
55
 
size_t strlcpy(char *dst, const char *src, size_t siz);
56
 
#endif
57
 
 
58
 
/* cyberpower needs this to compile on IRIX. 
59
 
 *
60
 
 * Whether this actually works is another story.
61
 
 */
62
 
 
63
 
#ifndef CRTSCTS
64
 
   #define CRTSCTS   020000000000
65
 
#endif
66
 
 
67
57
#ifdef HAVE_GETPASSPHRASE
68
58
#define GETPASS getpassphrase
69
59
#else