X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fparse-duration.h;h=d9bb69d6dc7bd2eb66195e40ac60fca91103e2db;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=ea551840cb5c83add5978baeac93b2976d2de48b;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/parse-duration.h b/lib/parse-duration.h index ea551840c..d9bb69d6d 100644 --- a/lib/parse-duration.h +++ b/lib/parse-duration.h @@ -1,5 +1,5 @@ /* Parse a time duration and return a seconds count - Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2008-2013 Free Software Foundation, Inc. Written by Bruce Korb , 2008. This program is free software: you can redistribute it and/or modify @@ -31,7 +31,7 @@ the string may contain: NNN Y NNN M NNN W NNN d NNN h NNN m NNN s This represents NNN years, NNN months, NNN weeks, NNN days, NNN hours, NNN minutes and NNN seconds. - The embeded white space is optional. + The embedded white space is optional. These terms must appear in this order. Case is significant: 'M' is months and 'm' is minutes. The final "s" is optional. @@ -85,6 +85,6 @@ /* Parses the given string. If it has the syntax of a valid duration, this duration is returned. Otherwise, the return value is BAD_TIME, and errno is set to either EINVAL (bad syntax) or ERANGE (out of range). */ -extern time_t parse_duration(char const * in_pz); +extern time_t parse_duration (char const * in_pz); #endif /* GNULIB_PARSE_DURATION_H */