1gnutls_load_file(3)                 gnutls                 gnutls_load_file(3)
2
3
4

NAME

6       gnutls_load_file - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_load_file(const char * filename, gnutls_datum_t * data);
12

ARGUMENTS

14       const char * filename
15                   the name of the file to load
16
17       gnutls_datum_t * data
18                   Where the file will be stored
19

DESCRIPTION

21       This  function  will load a file into a datum. The data are zero termi‐
22       nated but the terminating null is not included in length.  The returned
23       data are allocated using gnutls_malloc().
24

RETURNS

26       On  success,  GNUTLS_E_SUCCESS (0) is returned, otherwise an error code
27       is returned.
28
29       Since 3.1.0
30

REPORTING BUGS

32       Report bugs to <bugs@gnutls.org>.
33       Home page: http://www.gnutls.org
34
35
37       Copyright © 2001-2014 Free Software Foundation, Inc..
38       Copying and distribution of this file, with  or  without  modification,
39       are  permitted  in  any  medium  without royalty provided the copyright
40       notice and this notice are preserved.
41

SEE ALSO

43       The full documentation for gnutls is maintained as  a  Texinfo  manual.
44       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
45       visit
46
47       http://www.gnutls.org/manual/
48
49gnutls                              3.3.29                 gnutls_load_file(3)
Impressum