# #include "nonport.h"

This page has information from files nonport.h and nonport.c.

## Contents

- Public Routines
- Public Definitions
- Introduction

## Public Routines in File nonport.c

#### Index

get_bits | hostname | my_process_id | username

#### Details

    int get_bits(void);

If (64-bit long and pointer) return 64, else return 32.

    char *hostname(void);

Return the hostname of the computer on which the current job is running.

    int my_process_id(void);

Return the process ID of the current process.

    char *username(void);

Return the name of the user who started the current job.

## Public Definitions in File nonport.h

## Introduction

This package has some utilities that might not be portable to other environments. If you get errors trying to compile this package, you can either modify nonport.c, or

    #define PRIMITIVE_ENVIRONMENT

in nonport.h, which disables everything.