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 X-Google-ArrivalTime: 2000-09-01 07:22:49 PST From: Rocke Robertson Newsgroups: comp.unix.tru64,comp.unix.solaris Subject: Re: Printf / C / Signal / Re-Entrancy Date: Fri, 01 Sep 2000 22:23:49 -0400 Organization: Public Works and Government Services Canada Message-ID: <39B064B5.769627F0@tiger.pwgsc.gc.ca> References: <8ml84c$6gj$1@nnrp1.deja.com> <8nud3p$td9$1@nnrp1.deja.com> <8nukfo$476$1@new-usenet.uk.sun.com> NNTP-Posting-Host: 142.226.179.170 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!howland.erols.net!torn!webster.srv.gc.ca!shark.ncr.pwgsc.gc.ca!not-for-mail Xref: supernews.google.com comp.unix.tru64:258 comp.unix.solaris:4796 What about syslog() ? I've used this with no problems. Maybe it has problems, but I haven't run into any obvious ones. "Casper H.S. Dik - Network Security Engineer" wrote: > [[ 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. -- ========================================== Rocke Robertson PWGSC-GTIS-CPS Voice (613) 748-4604 Fax (613) 748-4843 mailto:Rocker@tiger.pwgsc.gc.ca ==========================================