1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-12 06:41:13 +02:00

(scm_strptime, scm_mktime): Added texinfo markup.

This commit is contained in:
Martin Grabmüller 2001-02-17 11:28:30 +00:00
parent 0d26a824c7
commit a8eac221a7

View file

@ -469,9 +469,9 @@ SCM_DEFINE (scm_mktime, "mktime", 1, 1, 0,
"@var{bd-time} is an object representing broken down time and @code{zone}\n" "@var{bd-time} is an object representing broken down time and @code{zone}\n"
"is an optional time zone specifier (otherwise the TZ environment variable\n" "is an optional time zone specifier (otherwise the TZ environment variable\n"
"or the system default is used).\n\n" "or the system default is used).\n\n"
"Returns a pair: the CAR is a corresponding\n" "Returns a pair: the car is a corresponding\n"
"integer time value like that returned\n" "integer time value like that returned\n"
"by @code{current-time}; the CDR is a broken down time object, similar to\n" "by @code{current-time}; the cdr is a broken down time object, similar to\n"
"as @var{bd-time} but with normalized values.") "as @var{bd-time} but with normalized values.")
#define FUNC_NAME s_scm_mktime #define FUNC_NAME s_scm_mktime
{ {
@ -651,16 +651,16 @@ SCM_DEFINE (scm_strftime, "strftime", 2, 0, 0,
#ifdef HAVE_STRPTIME #ifdef HAVE_STRPTIME
SCM_DEFINE (scm_strptime, "strptime", 2, 0, 0, SCM_DEFINE (scm_strptime, "strptime", 2, 0, 0,
(SCM format, SCM string), (SCM format, SCM string),
"Performs the reverse action to @code{strftime}, parsing @var{string}\n" "Performs the reverse action to @code{strftime}, parsing\n"
"according to the specification supplied in @var{template}. The\n" "@var{string} according to the specification supplied in\n"
"interpretation of month and day names is dependent on the current\n" "@var{template}. The interpretation of month and day names is\n"
"locale. The\n" "dependent on the current locale. The value returned is a pair.\n"
"value returned is a pair. The CAR has an object with time components \n" "The car has an object with time components\n"
"in the form returned by @code{localtime} or @code{gmtime},\n" "in the form returned by @code{localtime} or @code{gmtime},\n"
"but the time zone components\n" "but the time zone components\n"
"are not usefully set.\n" "are not usefully set.\n"
"The CDR reports the number of characters from @var{string} which\n" "The cdr reports the number of characters from @var{string}\n"
"were used for the conversion.") "which were used for the conversion.")
#define FUNC_NAME s_scm_strptime #define FUNC_NAME s_scm_strptime
{ {
struct tm t; struct tm t;