#include <ctype.h>
#include <getopt.h>
#include <stdio.h>
#include <string.h>
#include <alpm.h>
#include <alpm_list.h>
Go to the source code of this file.
Define Documentation
Enumeration Type Documentation
Function Documentation
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 444 of file pactree.c.
References alpm_find_dbs_satisfier(), alpm_initialize(), alpm_list_add(), alpm_list_free(), alpm_option_get_localdb(), alpm_option_get_syncdbs(), alpm_pkg_get_name(), alpm_strerror(), dbpath, reverse, and searchsyncs.
char* strndup |
( |
const char * |
s, |
|
|
size_t |
n |
|
) |
| |
Copies a string.
Returned string needs to be freed
- Parameters:
-
s | string to be copied |
n | maximum number of characters to copy |
- Returns:
- pointer to the new string on success, NULL on error
Definition at line 107 of file pactree.c.
Variable Documentation