From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11035d,c509ab6cf91f487b X-Google-Attributes: gid11035d,public X-Google-Thread: fa528,c509ab6cf91f487b X-Google-Attributes: gidfa528,public From: Casper.Dik@Holland.Sun.Com (Casper H.S. Dik - Network Security Engineer) Subject: Re: Printf / C / Signal / Re-Entrancy Date: 2000/08/22 Message-ID: <8nukfo$476$1@new-usenet.uk.sun.com>#1/1 X-Deja-AN: 661255853 References: <8ml84c$6gj$1@nnrp1.deja.com> <8nud3p$td9$1@nnrp1.deja.com> Mail-Copies-To: never X-Complaints-To: usenet@new-usenet.uk.sun.com X-Trace: new-usenet.uk.sun.com 966972728 4326 129.159.201.52 (22 Aug 2000 19:32:08 GMT) Organization: Sun Microsystems, Netherlands NNTP-Posting-Date: 22 Aug 2000 19:32:08 GMT Newsgroups: comp.unix.tru64,comp.unix.solaris [[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]] moi_is_me writes: >On most unix's, TRU64 + Solaris in particular, it seems that the >documentation says not to invoke printf, and like, whilst in a >signal handler. >If you potentially need to output data from a signal handler, for >example, real-time i/o completion, where the system is notifying you >that an IP connection has been established, what output methods >are available that are Thread/Signal Re-Entrant ? Plain old system calls (read/write etc). Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.