diff options
author | aw148015 <Andrew.W.Wilson@sun.com> | 2008-10-27 11:14:30 -0700 |
---|---|---|
committer | aw148015 <Andrew.W.Wilson@sun.com> | 2008-10-27 11:14:30 -0700 |
commit | 0bb1cc7eeccb58d82ac6a19e80e41a3781810c28 (patch) | |
tree | da69b8fc153d7fb6f58cf9fbb0306ee8bd5a725b /usr/src/cmd/filebench/common/utils.h | |
parent | 5338c544ca00e11e246822f5d465dd162f781dbf (diff) | |
download | illumos-joyent-0bb1cc7eeccb58d82ac6a19e80e41a3781810c28.tar.gz |
6720351 FileBench should have a Video Server like workload
6725102 FileBench needs some directory manipulation flowops
6753319 SUNWfilebench package dependency issue in snv_99
Diffstat (limited to 'usr/src/cmd/filebench/common/utils.h')
-rw-r--r-- | usr/src/cmd/filebench/common/utils.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr/src/cmd/filebench/common/utils.h b/usr/src/cmd/filebench/common/utils.h index d2a8b655a3..cb9e39a9fc 100644 --- a/usr/src/cmd/filebench/common/utils.h +++ b/usr/src/cmd/filebench/common/utils.h @@ -19,15 +19,13 @@ * CDDL HEADER END */ /* - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _FB_UTILS_H #define _FB_UTILS_H -#pragma ident "%Z%%M% %I% %E% SMI" - #include "config.h" #include <sys/types.h> @@ -41,6 +39,14 @@ extern "C" { extern char *fb_stralloc(char *str); +#ifdef sun +#define fb_strlcat strlcat +#define fb_strlcpy strlcpy +#else +extern size_t fb_strlcat(char *dst, const char *src, size_t dstsize); +extern size_t fb_strlcpy(char *dst, const char *src, size_t dstsize); +#endif /* sun */ + #ifdef __cplusplus } #endif |