Mercurial > hg > octave-lojdl > gnulib-hg
view doc/func.texi @ 17317:e67939626bf8
tempname: use secure_getenv
* lib/tempname.c (__secure_getenv) [!_LIBC]:
Define to secure_getenv, not getenv.
* modules/tempname (Depends-on):
Add secure_getenv.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 04 Feb 2013 18:36:06 -0800 |
parents | 6b25bda86ddb |
children |
line wrap: on
line source
@node func @section func The @code{func} module makes sure that you can use the predefined identifier @code{__func__} as defined by C99 in your code. A small example is: @smallexample #include <config.h> #include <stdio.h> /* for printf */ int main (void) @{ printf ("%s: hello world\n", __func__); @} @end smallexample Note that @code{sizeof} cannot be applied to @code{__func__}: On SunPRO C compiler, @code{sizeof __func__} evaluates to 0.