www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/12/11:02:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 12 Apr 2004 10:01:30 -0500
From: Oleg Ostrozhansky <oleg AT olegos DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: reentrant functions
Message-ID: <20040412150130.GA7460@panix.com>
References: <C1A7FA5F2793A94BA223673B8ADAF4A1C989DB AT exchange DOT air2web DOT com>
Mime-Version: 1.0
In-Reply-To: <C1A7FA5F2793A94BA223673B8ADAF4A1C989DB@exchange.air2web.com>
User-Agent: Mutt/1.4.2.1i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019