.th Nlib III 4/21/86
.sh FILE
Nlib.mod
.sh DEFINES
.nf
TYPE seid_comparison = (
	SEID_EQ,
	SEID_NE,
	SEID_SAME_NSP,
	SEID_SAME_FILESYS);
.s3
TYPE string_comparison = (
	STRING_EQ,
	STRING_LT,
	STRING_GT);
.s3
PROCEDURE N_strcpy(
	VAR a:		ARRAY integer OF char;
	b:		ARRAY integer OF char
	):		boolean;
.s3
PROCEDURE N_seidcmp(
	comparison:	seid_comparison;
	seid_a:		seid;
	seid_b:		seid
	):		boolean;
.s3
PROCEDURE N_strcmp(
	A:		ARRAY integer OF char;
	B:		ARRAY integer OF char
	):		string_comparison;
.s3
PROCEDURE mk_chars(
	VAR string:	ARRAY integer OF char;
	L:		integer;
	H:		integer;
	num:		cardinal);
.s3
PROCEDURE str_to_card(
	string:		ARRAY integer OF char
	):		cardinal;
.s3
PROCEDURE tmp_name(
	VAR entry_name:	ARRAY integer OF char);
.s3
PROCEDURE insert_str(
	to_insert:	ARRAY integer OF char;
	start_point:	integer;
	VAR string:	ARRAY integer OF char);
.s3
PROCEDURE conv_time_to_ticks(
	time_string:	UNIV { ARRAY 1:14 OF char };
	VAR ticks:	cardinal32
	):		boolean;
.s3
PROCEDURE conv_ticks_to_time(
	clock_ticks:	cardinal32;
	VAR time:	UNIV { ARRAY 1:14 OF char });
.s3
PROCEDURE conv_time_to_date(
	t_str:		UNIV { ARRAY 1:14 OF char };
	VAR date:	UNIV { ARRAY 1:26 OF char }
	):		boolean;
.s3
PROCEDURE acp_signal(
	msg:		UNIV msg_struct);
.fi
.sh DESCRIPTION
The procedure defined by this module perform various string, seid
and time manipulations.
.s3
.lp 10 5
N_strcopy
copies string 'b' into string 'a'. If 'b' is longer than 'a',
it is truncated and FALSE is returned. If 'b' is shorter, 'a'
will be null-filled.
.s3 
.lp 10 5
N_seidcmp
compares two seids. TRUE is returned if the seid are identical.
.s3
.lp 10 5
N_strcmp
compares string A to string B. A value of type
string_comparison
(above) will be returned.
.s3
.lp 10 5
mk_chars
converts a number into a character string. The number
will be inserted into the input string at the character
positions between 'L' and 'H'.
.s3 
.lp 10 5
str_to_card
converts the given string into a cardinal integer.
.s3
.lp 10 5
tmp_name
constructs the name of a user's temporary file. This name is
constructed from the user id, terminal number and path number.
The name is of length 11.
.s3
.lp 10 5
insert_str
inserts the first string into the second, at the indicated position.
.s3
.lp 10 5
conv_time_to_ticks
converts a time string into clock ticks.
.s3
.lp 10 5
conv_ticks_to_time
converts clock ticks to a date/time string.
.s3
.lp 10 5
conv_time_to_date
converts a time string on the current date to a date string
containing the current date.
.s3 
.lp 10 5
acp_signal
send a signal to the Audit Capture Process.
.i0
.sh USES
.nf
NKcalls.mod
c32Arith.mod (if time_conv defined)
NKstrio.mod (if acp defined)
.fi

