GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SYNCE_GET_DIRECTORY (3)

NAME

synce_get_directory - get synce configuration directory

CONTENTS

Synopsis
Description

SYNOPSIS


#include <synce.h> 

bool synce_get_directory(char ** path);

bool synce_get_subdirectory(const char * name, char ** path);

bool synce_get_script_directory(char ** path);

DESCRIPTION

The synce_get_directory() function provides a string describing the location of the synce configuration directory. If the environment variable SYNCE_CONF_DIR is set, it’s value is returned. The default location is ~/.synce.

The synce_get_subdirectory() function provides a string describing the location of the subdirectory name in the synce configuration directory. name cannot contain ’/’.

The synce_get_script_directory() function provides a string describing the location of the script subdirectory in the synce configuration directory.

RETURN VALUE

Returns true if successful. Fails and returns false if path is an invalid pointer, SYNCE_CONF_DIR is not set and user cannot be determined, or the directory does not exist.

SEE ALSO

synce(7)
Search for    or go to Top of page |  Section 3 |  Main Index


The SynCE Project SYNCE_GET_DIRECTORY (3) 2007-08-26

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.