migration - How to find linux equivalent of solaris specific header files? -
i porting solaris application linux platform, looking alternative header files of following solaris specific files.
sys/devpoll.h sys/procset.h sys/systeminfo.h sys/types32.h sysutil.h
you have serious rewriting application appears using significant amount of solaris-specific , solaris internal implementations.
sys/devpoll.h - no equivalent, closest linux replacement solaris /dev/poll use sys/epoll.h.
sys/procset.h - no equivalent, entirely solaris kernel internels.
sys/systeminfo.h - sys/sysinfo.h. see sysinfo() man page both solaris , linux sysinfo() library call different on 2 platforms,
sys/types32.h - no equivalent. not that, sys/types32.h on solaris 11.2 file server has warning:
/* * interoperability types programs. used for: * * crossing between 32-bit , 64-bit domains. * * on disk data formats such filesystem meta data * , disk label. * * note: applications should never include * header file. */ sysutil.h - not appear solaris header. not exist on solaris 11.2 file server, nor appear in opensolaris source hosted @ illumos.org.
Comments
Post a Comment