/* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2009 Index Data.
+ * Copyright (C) 1995-2012 Index Data.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
/** \brief returns system error description string
\param buf buffer for result
- \param max maximum number of bytes to store
+ \param bufsz maximum number of bytes to store
*/
-YAZ_EXPORT void yaz_strerror(char *buf, int max);
+YAZ_EXPORT void yaz_strerror(char *buf, size_t bufsz);
YAZ_END_CDECL