*BSD News Article 84831


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.solaris,comp.unix.bsd.misc,comp.unix.internals
Subject: Re: SunOS4.1.3 to Solaris2.5.1 Porting issues.
Date: 11 Dec 1996 10:51:26 GMT
Organization: interface business GmbH, Dresden
Lines: 42
Distribution: inet
Message-ID: <58m3ne$hju@innocence.interface-business.de>
References: <32986299.AC7@mail.esrin.esa.it> <casper.329abb76@mail.fwi.uva.nl>
  <x7917mx5gx.fsf@dumbcat.codewright.com> <57shh0$o3u@web.nmti.com>
  <58bdl4$g68@spitfire.ecsel.psu.edu> <58ccqm$q13@web.nmti.com>
  <58hj11$bb6@panix.com> <32ADB280.55AD@jpmorgan.com>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Cc: Ravi Arumbakam <Arumbakam_Ravi@jpmorgan.com>
Xref: euryale.cc.adfa.oz.au comp.unix.solaris:92250 comp.unix.bsd.misc:1778 comp.unix.internals:11574

Ravi Arumbakam <Arumbakam_Ravi@jpmorgan.com> wrote:

> I am trying to port an application from SunOS 4.1.3 to Solaris 2.5.1. I
> am using gcc-2.5.8 on SunOS and gcc-2.7.0.1 on Solaris.
> I am having difficulties with the following:
> 
>   - signal related macros/functions: could not locate sigvec(),
> sigmask() and sigsetmask().

Well, it looks that BSD does provide better transitional help here
(despite of the Solaris people calling us ignorant against those
problems :).

SIGSETMASK(2)             FreeBSD Programmer's Manual            SIGSETMASK(2)

NAME
     sigsetmask - set current signal mask

...
SEE ALSO
     sigprocmask(2),  kill(2),  sigaction(2),  sigsuspend(2),  sigvec(2),
     sigblock(2),  sigsetops(3)

HISTORY
     The sigsetmask() function call appeared in 4.2BSD and has been deprecat-
     ed.


So sigprocmask & Co are your friends.

>   - timelocal() function is not supported.

No idea what it does.  Anything related to the ctime(3) family, like
localtime(3)?  You need perhaps the old man page.

> I'd appreciate any help, please e-mail your responses.

(Cc sent)
-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j