4 -- Grant of Unlimited Rights
6 -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
7 -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
8 -- unlimited rights in the software and documentation contained herein.
9 -- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
10 -- this public release, the Government intends to confer upon all
11 -- recipients unlimited rights equal to those held by the Government.
12 -- These rights include rights to use, duplicate, release or disclose the
13 -- released technical data and computer software in whole or in part, in
14 -- any manner and for any purpose whatsoever, and to have or permit others
19 -- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
20 -- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
21 -- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
22 -- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
23 -- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
24 -- PARTICULAR PURPOSE OF SAID MATERIAL.
27 -- FUNCTION NAME: CXB30060 ("wchar_gen")
29 -- FUNCTION DESCRIPTION:
30 -- This C function returns the value of type wchar_t corresponding to the
31 -- value of its parameter, where
32 -- Val 0 .. 9 ==> '0' .. '9'
33 -- Val 10 .. 19 ==> 'A' .. 'J'
34 -- Val 20 .. 29 ==> 'k' .. 't'
40 -- This function requires that one int parameter be passed to it.
43 -- The function will return the appropriate value of type wchar_t.
46 -- 13 Sep 99 RLB Created function to replace incorrect
47 -- Unchecked_Conversion.
54 wchar_t CXB30060 (int val
)
56 /* NOTE: The above function definition should be accepted by an ANSI-C */
57 /* compiler. Older C compilers may reject it; they may, however */
58 /* accept the following two lines. An implementation may comment */
59 /* out the above function definition and uncomment the following */
60 /* one. Otherwise, an implementation must provide the necessary */
61 /* modifications to this C code to satisfy the function */
62 /* requirements (see Function Description). */
64 /* wchar_t CXB30060 (val) */
68 { wchar_t return_value
= ';';
173 return (return_value
); /* Return character value */