This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reentrant functions


Wouldn't you just want to export all _*_r symbols listed in the
"Reentrancy" section of "info libc", which are:

       _Equivalent for errno variable:_
            _errno_r

       _Locale functions:_
            _localeconv_r  _setlocale_r

       _Equivalents for stdio variables:_
            _stdin_r        _stdout_r       _stderr_r

       _Stdio functions:_
            _fdopen_r       _perror_r       _tempnam_r
            _fopen_r        _putchar_r      _tmpnam_r
            _getchar_r      _puts_r         _tmpfile_r
            _gets_r         _remove_r       _vfprintf_r
            _iprintf_r      _rename_r       _vsnprintf_r
            _mkstemp_r      _snprintf_r     _vsprintf_r
            _mktemp_t       _sprintf_r

       _Signal functions:_
            _init_signal_r  _signal_r
            _kill_r         __sigtramp_r
            _raise_r

       _Stdlib functions:_
            _calloc_r       _mblen_r        _setenv_r
            _dtoa_r         _mbstowcs_r     _srand_r
            _free_r         _mbtowc_r       _strtod_r
            _getenv_r       _memalign_r     _strtol_r
            _mallinfo_r     _mstats_r       _strtoul_r
            _malloc_r       _putenv_r       _system_r
            _malloc_r       _rand_r         _wcstombs_r
            _malloc_stats_r _realloc_r      _wctomb_r

       _String functions:_
            _strdup_r       _strtok_r

       _System functions:_
            _close_r        _link_r         _unlink_r
            _execve_r       _lseek_r        _wait_r
            _fcntl_r        _open_r         _write_r
            _fork_r         _read_r
            _fstat_r        _sbrk_r
            _gettimeofday_r _stat_r
            _getpid_r       _times_r

       _Additional 64-bit I/O System functions:_
            _fstat64_r     _lseek64_r     _open64_r

       _Time function:_
            _asctime_r

Someone's already came up with this list, and even included it in the
documentation, right?

  Oleg


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]