X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Ferrno.h;h=6a1e77a3d020d4c309462f0630d3b27f86504b89;hp=d05f3f3b6d4a579ec158a8f9083fe7d9eaecb2b0;hb=dbc40ad16aa82379d2884e106d79c7d83312667a;hpb=13356a0cb532b646421e0169aef11d1bd25e89f8 diff --git a/include/yaz/errno.h b/include/yaz/errno.h index d05f3f3..6a1e77a 100644 --- a/include/yaz/errno.h +++ b/include/yaz/errno.h @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data. + * Copyright (C) 1995-2013 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: @@ -36,8 +36,8 @@ YAZ_BEGIN_CDECL -/** \brief returns errno - \returns errno value +/** \brief returns errno + \returns errno value */ YAZ_EXPORT int yaz_errno(void); @@ -48,9 +48,9 @@ YAZ_EXPORT void yaz_set_errno(int v); /** \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