~ubuntu-branches/ubuntu/quantal/open-vm-tools/quantal-201207201942

« back to all changes in this revision

Viewing changes to lib/include/str.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-03-20 10:19:00 UTC
  • mfrom: (1.1.4 upstream) (2.4.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090320101900-1o604camiubq2de8
Tags: 2009.03.18-154848-2
Correcting patch system depends (Closes: #520493).

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#elif __APPLE__
38
38
#include <stdlib.h>
39
39
#endif
40
 
#include <stdarg.h>
 
40
#include "compat/compat_stdarg.h" // Provides stdarg.h plus va_copy
41
41
 
42
42
#include "vm_basic_types.h"
43
43
 
79
79
                        const char *fmt, ...) PRINTF_DECL(3, 4);
80
80
EXTERN int Str_Vsnprintf(char *buf, size_t len,
81
81
                         const char *fmt, va_list args);
 
82
EXTERN size_t Str_Strlen(const char *src, size_t maxLen);
82
83
EXTERN char *Str_Strnstr(const char *src, const char *sub, size_t n);
83
84
EXTERN char *Str_Strcpy(char *dst, const char *src, size_t maxLen);
84
85
EXTERN char *Str_Strcat(char *dst, const char *src, size_t maxLen);