42 lines
1.3 KiB
Brainfuck
Executable File
42 lines
1.3 KiB
Brainfuck
Executable File
********************************************************************************
|
|
*
|
|
* Support of subroutine '!GET.USER.COUNTS'
|
|
*
|
|
* Module %M% Version %I% Date %H%
|
|
*
|
|
* (c) Copyright 1998 Ardent Software Inc. - All Rights Reserved
|
|
* This is unpublished proprietary source code of Ardent Software Inc.
|
|
* The copyright notice above does not evidence any actual or intended
|
|
* publication of such source code.
|
|
*
|
|
*******************************************************************************
|
|
*
|
|
* Maintenence log - insert most recent change descriptions at top
|
|
*
|
|
* Date.... GTAR# WHO Description.........................................
|
|
* 10/14/98 23801 SAP Change copyrights.
|
|
* 01/18/94 12299 LA Initial implementation.
|
|
*
|
|
*******************************************************************************
|
|
*
|
|
* This subroutine is a partial implementation of the PI/open !GET.USERS
|
|
* subroutine. It returns three pieces of information. These are:
|
|
*
|
|
* Current number of uniVerse users
|
|
* Maximum number of uniVerse users
|
|
* Current number of system (unix) users
|
|
*
|
|
*******************************************************************************
|
|
|
|
|
|
$OPTIONS DEFAULT
|
|
|
|
subroutine GET.USER.COUNTS(UV.USERS, MAX.UV.USERS, OS.USERS)
|
|
|
|
UV.USERS = SYSTEM(35)
|
|
MAX.UV.USERS = SYSTEM(36)
|
|
OS.USERS = SYSTEM(37)
|
|
|
|
RETURN
|
|
|