X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=strutil.c;h=acd0032790417e89cc86520a07789b4c4e2c4179;hb=87b545fba4d537a255dffcf2d8053908e3847480;hp=40ffc4dc7ccce2895fd1413640f8054e34fb7177;hpb=3544f848e0d7f67af8e11ce7ec344b34cd797df3;p=libsigrok.git diff --git a/strutil.c b/strutil.c index 40ffc4dc..acd00327 100644 --- a/strutil.c +++ b/strutil.c @@ -42,6 +42,8 @@ */ /** + * @private + * * Convert a string representation of a numeric value to a long integer. The * conversion is strict and will fail if the complete string does not represent * a valid long integer. The function sets errno according to the details of the @@ -73,6 +75,8 @@ SR_PRIV int sr_atol(const char *str, long *ret) } /** + * @private + * * Convert a string representation of a numeric value to an integer. The * conversion is strict and will fail if the complete string does not represent * a valid integer. The function sets errno according to the details of the @@ -102,6 +106,8 @@ SR_PRIV int sr_atoi(const char *str, int *ret) } /** + * @private + * * Convert a string representation of a numeric value to a double. The * conversion is strict and will fail if the complete string does not represent * a valid double. The function sets errno according to the details of the @@ -133,6 +139,8 @@ SR_PRIV int sr_atod(const char *str, double *ret) } /** + * @private + * * Convert a string representation of a numeric value to a float. The * conversion is strict and will fail if the complete string does not represent * a valid float. The function sets errno according to the details of the