1 03/31/83  char_offset_
 2 
 3 
 4 Entry points in char_offset_:
 5    (List is generated by the help command)
 6 
 7 
 8 :Entry: char_offset_:  06/17/81  char_offset_
 9 
10 Function: returns the character offset (relative to the base of the
11 segment) of the character located by the supplied pointer value.
12 
13 
14 Syntax:
15 dcl char_offset_ entry (pointer) returns (fixed bin (21)) reducible;
16 character_offset = char_offset_ (pointer_value);
17 
18 
19 Arguments:
20 pointer_value
21    is a pointer whose character offset is to be determined.  (Input)
22 character_offset
23    is the character offset of the supplied pointer.  (Output)
24 
25 
26 Notes:  The first character in a segment has a character offset of
27 zero.
28 
29 If the pointer supplied to char_offset_ does not point to a character
30 boundary, the offset returned is that of the character containing the
31 bit located by the pointer.