Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] utssys?
@ 1999-08-07 13:31 Matthew Wilcox
  1999-08-07 15:45 ` John David Anglin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Matthew Wilcox @ 1999-08-07 13:31 UTC (permalink / raw)
  To: parisc-linux


Can anyone tell me what the utssys() system call does?  There's no manual
page for it.  From tusc, I can see:

utssys("HP-UX", 0, 0) ............................................ = 0

so all I need do to get it to work on Linux is return 0, but I'd like
to understand a little more.

I also can't find a manual page for sigsetreturn() which I probably need
to understand more deeply than utssys :-)

-- 
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [parisc-linux] utssys?
@ 1999-08-08 23:18 Gyula Matics
  0 siblings, 0 replies; 7+ messages in thread
From: Gyula Matics @ 1999-08-08 23:18 UTC (permalink / raw)
  To: parisc-linux

> Can anyone tell me what the utssys() system call does? There's no manual 
> page for it. From tusc, I can see: 
> 
> utssys("HP-UX", 0, 0) ............................................ = 0 
> 
> so all I need do to get it to work on Linux is return 0, but I'd like 
> to understand a little more. 

On Solaris it's 3 syscalls, and you have some documentation in sys/syscall.h
and sys/utssys.h. One of them is used by fuser.
Maybe you can find some info in the hpux headers?
(Can't check, no access for hpux right now)

int utssys(char *path, int flags, int type, char *obuf)

#define SYS_utssys      57
        /*
         *subcodes (third argument):
         *      uname(obuf)  (obsolete)   :: syscall(57, obuf, ign, 0)
         *                                      subcode 1 unused
         *      ustat(dev, obuf)          :: syscall(57, obuf, dev, 2)
         *      fusers(path, flags, obuf) :: syscall(57, path, flags, 3, obuf)
         *      see <sys/utssys.h>
         */

Gyula

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-08-10 22:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-07 13:31 [parisc-linux] utssys? Matthew Wilcox
1999-08-07 15:45 ` John David Anglin
1999-08-08  1:38 ` Stan Sieler
1999-08-08  3:34   ` John David Anglin
1999-08-10 21:58 ` Kevin Vajk
1999-08-10 22:09   ` Kevin Vajk
  -- strict thread matches above, loose matches on Subject: below --
1999-08-08 23:18 Gyula Matics

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox