Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hplabs!hpl-opus!hpnmdla!darrylo From: darrylo@hpnmdla.HP.COM (Darryl Okahata) Newsgroups: comp.sys.hp Subject: Re: utimes() and other bsd routines not on 7.0 Message-ID: <430035@hpnmdla.HP.COM> Date: 16 Feb 91 01:34:40 GMT References: <1991Feb13.212748.20841@batcomputer.tn.cornell.edu> Organization: HP Network Measurements Div, Santa Rosa, CA Lines: 22 In comp.sys.hp, hurf@theory.tn.cornell.edu (Hurf Sheldon) writes: > There are some bsd based routines which I can't > seem to successfully compensate for. One of them is > utimes(), Is there any way to implement this > on hp-ux 7.0? You can emulate utimes(2) using utime(2). You just have to write a simple wrapper to translate the different parameters/structures used. You can also emulate usleep(2) using select(2). Just pass NULL pointers for the file descriptor arrays, and pass a pointer to the appropriately-filled-in struct timeval. -- Darryl Okahata UUCP: {hplabs!, hpcea!, hpfcla!} hpnmd!darrylo Internet: darrylo%hpnmd@hp-sde.sde.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion or policy of Hewlett-Packard or of the little green men that have been following him all day.