Searched defs:directory (Results 1 - 8 of 8) sorted by relevance

/osnet-11/usr/src/lib/libdhcpsvc/modules/binfiles/
H A Dgeneral.c75 mklocation(const char *directory) argument
77 if (mkdirp(directory, 0755) == -1) {
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathfind.c34 #define directory(p,s) (stat((p),(s))>=0&&S_ISDIR((s)->st_mode)) macro
37 typedef struct Dir_s /* directory list element */
40 char dir[1]; /* directory path */
43 static struct /* directory list state */
45 Dir_t* head; /* directory list head */
46 Dir_t* tail; /* directory list tail */
59 if (dir && *dir && !streq(dir, ".") && directory(dir, &st))
115 * check the directory of the including file
/osnet-11/usr/src/lib/libcmd/common/
H A Drm.c45 "[d:directory?\bremove\b(3) (or \bunlink\b(2)) directories rather than"
48 " constitution, to use this option. Even though the directory must"
58 " enabled) for each directory before attempting to remove directory"
86 int directory; /* remove(dir) not rmdir(dir) */ member in struct:State_s
135 error(2, "%s: cannot %s directory", ent->fts_path, (ent->fts_info & FTS_NR) ? "read" : "search");
156 error(2, "%s: directory", ent->fts_path);
185 if ((v = astquery(-1, "remove directory %s? ", ent->fts_path)) < 0 || sh_checksig(state->context))
199 error(1, "%s: hard link to directory", ent->fts_path);
206 if (isempty(ent) || state->directory)
[all...]
H A Dcp.c36 "[+DESCRIPTION?If the last argument names an existing directory, \bcp\b "
37 "copies each \afile\a into a file with the same name in that directory. "
39 "the second. It is an error if the last argument is not a directory and "
54 "appending to the target directory a slash and the specified source file "
55 "name. The last argument must be an existing directory. Missing "
69 "[+DESCRIPTION?If the last argument names an existing directory, \bln\b "
70 "links each \afile\a into a file with the same name in that directory. "
72 "second. It is an error if the last argument is not a directory and more "
78 "[+DESCRIPTION?If the last argument names an existing directory, \bmv\b "
79 "renames each \afile\a into a file with the same name in that directory
161 int directory; /* destination is directory */ member in struct:State_s
[all...]
/osnet-11/usr/src/lib/libidmap/common/
H A Ddirectory_client.c42 #include "directory.h"
60 struct directory { struct
65 * Set up a directory search context.
94 "Insufficient memory setting up directory access", NULL);
101 * Tear down a directory search context.
211 /* For each directory entry returned */
236 * Create a directory datum. Note that we allocate an extra byte and
275 * Unmarshall an RPC directory entry into an API directory entry.
302 "Insufficient memory copying directory entr
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsundelete.h20 * along with this program (in the main directory of the Linux-NTFS
45 char *dest; /* Save file to this directory */
54 int parent; /* Show parent directory */
106 int directory; /* MFT record represents a directory */ member in struct:ufile
/osnet-11/usr/src/lib/libkmf/include/
H A Dkmfpolicy.h56 char *directory; member in struct:__anon1841
113 #define VAL_CRL_DIRECTORY validation_info.crl_info.directory
157 #define KMF_CRL_DIRECTORY_ATTR "directory"
175 #define KMF_CERT_MAPPER_DIR_ATTR "mapper-directory"
/osnet-11/usr/src/cmd/hal/hald/
H A Dutil.c116 * parent directory by truncation.
173 hal_util_get_int_from_file (const gchar *directory, const gchar *file, gint *result, gint base) argument
183 g_snprintf (path, sizeof (path), "%s/%s", directory, file);
208 hal_util_set_int_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument
215 if (hal_util_get_int_from_file (directory, file, &value, base))
223 hal_util_get_uint64_from_file (const gchar *directory, const gchar *file, guint64 *result, gint base) argument
233 g_snprintf (path, sizeof (path), "%s/%s", directory, file);
259 hal_util_set_uint64_from_file (HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, gint base) argument
266 if (hal_util_get_uint64_from_file (directory, file, &value, base))
273 hal_util_get_bcd2_from_file (const gchar *directory, cons argument
349 hal_util_set_bcd2_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument
363 hal_util_get_string_from_file(const gchar *directory, const gchar *file) argument
410 hal_util_set_string_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file) argument
497 hal_util_grep_file(const gchar *directory, const gchar *file, const gchar *linestart, gboolean reuse) argument
569 hal_util_grep_string_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument
604 hal_util_grep_int_elem_from_file(const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument
650 hal_util_set_string_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, gboolean reuse) argument
690 hal_util_set_int_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, guint base, gboolean reuse) argument
747 hal_util_set_bool_elem_from_file(HalDevice *d, const gchar *key, const gchar *directory, const gchar *file, const gchar *linestart, guint elem, const gchar *expected, gboolean reuse) argument
[all...]

Completed in 46 milliseconds