2 .TH "BUXTON_SET_CONF_FILE" "3" "buxton 1" "buxton_set_conf_file"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
17 .\" disable justification (adjust text to left margin only)
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
23 buxton_set_conf_file \- Set the path to the Buxton configuration file
32 int buxton_set_conf_file(char *\fIpath\fB)
38 Clients may use a custom Buxton configuration file, referenced by \fIpath\fR\&.
39 The settings from the new configuration file take effect immediately\&.
52 if ((fd = buxton_open(&client)) < 0) {
53 printf("couldn't connect\\n");
57 if (!buxton_set_conf_file("/etc/buxton-custom.conf")) {
58 printf("failed to set conf file\\n");
70 Returns 0 on success, and a non\-zero value on failure\&.
74 Copyright 2014 Intel Corporation\&. License: Creative Commons
75 Attribution\-ShareAlike 3.0 Unported\s-2\u[1]\d\s+2, with exception
76 for code examples found in the \fBCODE EXAMPLE\fR section, which are
77 licensed under the MIT license provided in the \fIdocs/LICENSE.MIT\fR
78 file from this buxton distribution\&.
82 \fBbuxton\&.conf\fR(5),
89 Creative Commons Attribution\-ShareAlike 3.0 Unported
91 \%http://creativecommons.org/licenses/by-sa/3.0/