Operating System - Linux
1829596 Members
2203 Online
109992 Solutions
New Discussion

/usr/lib/libld.a sputl sgetl equivalent for 11.23?

 
SOLVED
Go to solution
Denver Osborn
Honored Contributor

/usr/lib/libld.a sputl sgetl equivalent for 11.23?

On 10.20 we had used sputl and sgetl from /usr/lib/libld.a which was supported until 11.0.

Does anyone know the equivalent sgetl and sputl on hp-ux 11.23?

thanks,
-denver
4 REPLIES 4
Don Morris_1
Honored Contributor

Re: /usr/lib/libld.a sputl sgetl equivalent for 11.23?

They're listed as declared in the man page for -- I wouldn't think you'd need anything special to link things from there [and if I'm wrong, I'll bet Dennis will quickly correct me].

See: http://docs.hp.com/en/B2355-60103/unistd.5.html
Dennis Handly
Acclaimed Contributor
Solution

Re: /usr/lib/libld.a sputl sgetl equivalent for 11.23?

>Does anyone know the equivalent sgetl and sputl on hp-ux 11.23?

There isn't any. It appears that libdl was for Starbase Display List?, which was removed.

You'll have to replace it by memcpy and make sure your input value is a lvalue.

Please contact the Response Center to have them either implement it or remove all mention of it.

>Don Morris: They're listed as declared in the man page for

Since they don't have a separate man page, they aren't supported.

>I'll bet Dennis will quickly correct me].

Unfortunately it appears they never removed those prototypes from unistd.h and unistd(5) when they got rid of Starbase.
Dennis Handly
Acclaimed Contributor

Re: /usr/lib/libld.a sputl sgetl equivalent for 11.23?

I filed QXCR1000760210 to get them removed from and unistd(4).
Denver Osborn
Honored Contributor

Re: /usr/lib/libld.a sputl sgetl equivalent for 11.23?

Thanks Dennis!