I am wondering what the following code means …
...
{
const char *etc; = SYSCONF_DIR;
...
I am sorry for not able to address this kind of problem properly,
I really have no idea what to call this …thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The above code assings a macro a pointer named
etc. Your code has a syntax error as of now. Instead ofIt should be
I understand that this might not be a very revealing answer, but the level of the depth of an answer is deemed by the quality of the question. You basically took one line of code and asked us what it does. It’s like taking a book, pulling out a sentence, showing it to a friend and asking him what book is this from…
EDIT:
A quick search on google of your snipet reavels that its taken from here. I know that as a fact because the syntax error appears in this book as well. A quick look reveals that the MACRO
SYSCONF_DIRequates to the string"/etc/". Also the book explains quite extensively what that function does…