NattyNarwhal / portlibfori

A set of APIs to enable applications to be more easily ported to PASE on IBM i

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Porting Library for IBM i

Summary

Provides various functions for PASE which are not provided by the AIX runtime.

This makes porting applications easier. Currently provides the following libraries:

libutil

Contains various functions found in Linux, BSD, etc but not found on AIX:

  • openpty
  • forkpty
  • login_tty
  • getopt_long
  • getopt_long_only
  • mkdtemp
  • backtrace
  • backtrace_symbols

libiperf

IBM i performance statistics library, modeled after AIX's libperfstat.

Currently only supports a quite limited selection of APIs:

  • iperfstat_memory_get_main_storage_size
  • iperfstat_cpu_get_number

Building

    make
    make install

The Makefile supports PREFIX and DESTDIR variables. The default prefix is /usr/local. To install to a different prefix specify it like so:

    make PREFIX=/QOpenSys/my/prefix install

License

Most code is licensed under MIT. See LICENSE for more info.

About

A set of APIs to enable applications to be more easily ported to PASE on IBM i

License:Other


Languages

Language:C 88.4%Language:Makefile 5.8%Language:Python 5.7%Language:Shell 0.1%