comparison src/fns.c @ 49798:48a58e6b11cc

(Flanginfo): Doc fix.
author Dave Love <fx@gnu.org>
date Fri, 14 Feb 2003 18:56:16 +0000
parents d7f7ccbc302a
children 2a19e12053a4
comparison
equal deleted inserted replaced
49797:bc572bfebdfc 49798:48a58e6b11cc
3446 #ifdef HAVE_LANGINFO_CODESET 3446 #ifdef HAVE_LANGINFO_CODESET
3447 #include <langinfo.h> 3447 #include <langinfo.h>
3448 #endif 3448 #endif
3449 3449
3450 DEFUN ("langinfo", Flanginfo, Slanginfo, 1, 1, 0, 3450 DEFUN ("langinfo", Flanginfo, Slanginfo, 1, 1, 0,
3451 doc: /* Access locale category ITEM, if available. 3451 doc: /* Access locale data ITEM, if available.
3452 3452
3453 ITEM may be one of the following: 3453 ITEM may be one of the following:
3454 `codeset', returning the character set as a string (CODESET); 3454 `codeset', returning the character set as a string (locale item CODESET);
3455 `days', returning a 7-element vector of day names (DAY_n); 3455 `days', returning a 7-element vector of day names (locale items DAY_n);
3456 `months', returning a 12-element vector of month names (MON_n). 3456 `months', returning a 12-element vector of month names (locale items MON_n);
3457 `paper', returning a list (WIDTH, HEIGHT) for the default paper size,
3458 where the width and height are in mm (locale items PAPER_WIDTH,
3459 PAPER_HEIGHT).
3457 3460
3458 If the system can't provide such information through a call to 3461 If the system can't provide such information through a call to
3459 nl_langinfo(3), return nil. 3462 nl_langinfo(3), return nil.
3463
3464 See also Info node `(libc)Locales'.
3460 3465
3461 The data read from the system are decoded using `locale-coding-system'. */) 3466 The data read from the system are decoded using `locale-coding-system'. */)
3462 (item) 3467 (item)
3463 Lisp_Object item; 3468 Lisp_Object item;
3464 { 3469 {