1sasl_utf8veriSfiym(p3lSeASALu)thentication Security Layer LibrarysFausnlc_tuitofn8sverify(3SASL)
2
3
4

NAME

6       sasl_utf8verify - encode base64 string
7

SYNOPSIS

9       cc [ flag ... ] file ... -lsasl   [ library ... ]
10       #include <sasl/saslutil.h>
11
12       int sasl_utf8verify(const char *str, unsigned len);
13
14

DESCRIPTION

16       Use  the  sasl_utf8verify()  interface to verify that a string is valid
17       UTF-8 and does not contain NULL, a carriage return, or a  linefeed.  If
18       len ==0, strlen(str) will be used.
19

PARAMETERS

21       str    A string
22
23
24       len    The length of the string
25
26

RETURN VALUES

28       sasl_utf8verify()  returns  an integer that corresponds to a SASL error
29       code.
30

ERRORS

32       SASL_OK         The call to sasl_utf8verify() was successful.
33
34
35       SASL_BADPROT    There was invalid UTF-8, or an error was found.
36
37

ATTRIBUTES

39       See attributes(5) for descriptions of the following attributes:
40
41
42
43
44       ┌─────────────────────────────┬─────────────────────────────┐
45       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
46       ├─────────────────────────────┼─────────────────────────────┤
47       │Availability                 │SUNWlibsasl                  │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │Interface Stability          │Evolving                     │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │MT-Level                     │MT-Safe                      │
52       └─────────────────────────────┴─────────────────────────────┘
53

SEE ALSO

55       attributes(5)
56
57
58
59SunOS 5.11                        1 Oct 2003            sasl_utf8verify(3SASL)
Impressum