1753821 Members
8426 Online
108805 Solutions
New Discussion юеВ

fuser.h

 
Berardi Angelo
Occasional Contributor

fuser.h

I am using the Migration Environment v1.4 and to port software from Tru64 to HP-UX 11i v2.
The software is written in C++ and it uses this
code under Tru64:

#include(sys/fuser.h)

In Tru64 this file is in

/usr/sys/include/sys/fuser.h

In HP-UX I can't find this file in any place.

Thanks in advance.
5 REPLIES 5
James R. Ferguson
Acclaimed Contributor

Re: fuser.h

Hi:

Without knowing what it is in the Tru64 header you seek, I'd suggest you do:

# grep -i /usr/include/sys/*.h /usr/include/*.h

Regards!

...JRF...
Berardi Angelo
Occasional Contributor

Re: fuser.h

I have used in HP-UX

grep -i "fuser.h" /usr/include/sys/*.h /usr/include/*.h

from / and I used

find . -name "fuser.h" -print

also from / and I didn't find anything.

Is it possible to copy this file from Tru64 to HP-UX?

Thank you.
James R. Ferguson
Acclaimed Contributor

Re: fuser.h

Hi (again) Angelo:

> I have used in HP-UX:
grep -i "fuser.h" /usr/include/sys/*.h /usr/include/*.h

This is NOT what I meant to suggest. Rather, by example, if you were looking for where 'FREEFP' was defined, do:

# grep -i FREEFP /usr/include/sys/*.h /usr/include/*.h

...to note that this is defined in '/usr/include/sys/file.h'.

> Is it possible to copy this file from Tru64 to HP-UX

No.

Regards!

...JRF...
Steven Schweda
Honored Contributor

Re: fuser.h

> Is it possible to copy this file from Tru64 to HP-UX

> No.

Of course you can copy the file. _Using_ it
on an HP-UX system would probably be a big
mistake, but that's a different question.
James R. Ferguson
Acclaimed Contributor

Re: fuser.h

Hi (again):

> Steven: Of course you can copy the file. _Using_ it on an HP-UX system would probably be a big mistake, but that's a different question.

Obviously. Then again, why copy it to HP-UX unless you at least plan to look at it there? Oh, I know, you could copy it to HP-UX to protect and preserve it! Without trying to be psychic, I believe a little inference or deduction generally helps in this world.

...JRF...