Searched refs:symlink (Results 1 - 25 of 45) sorted by relevance

12

/osnet-11/usr/src/lib/libc/port/sys/
H A Dsymlink.c37 #pragma weak _symlink = symlink
39 symlink(const char *path1, const char *path2) function
/osnet-11/usr/src/lib/libast/common/misc/
H A Dunivlib.h33 * universe symlink conditionals use $(UNIVERSE)
40 __STDPP__directive pragma pp:hide getuniverse readlink setuniverse symlink universe
45 #define symlink ______symlink
60 __STDPP__directive pragma pp:nohide getuniverse readlink setuniverse symlink universe
65 #undef symlink
90 extern int symlink(const char*, const char*);
H A Dfts.c92 unsigned char symlink; /* originally a symlink */ \
200 f->symlink = 0;
484 verify |= fts->pwd->symlink;
509 if (!f->symlink && (ISTYPE(f, DT_UNKNOWN) || ISTYPE(f, DT_LNK)))
552 f->symlink = 1;
1124 || fts->pwd && fts->pwd->symlink
1348 * follow symlink if asked to
1383 if (f->symlink && f->fts_info != FTS_SL)
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_realpath.c72 * Find the real name of path, by removing all ".", ".." and symlink
88 char left[PATH_MAX], next_token[PATH_MAX], symlink[PATH_MAX]; local
193 slen = readlink(resolved, symlink,
194 sizeof (symlink) - 1);
197 symlink[slen] = '\0';
199 if (symlink[0] == '/') {
212 * append them to symlink. The result is placed
216 if (symlink[slen - 1] != '/') {
217 if (slen + 1 >= sizeof (symlink)) {
221 symlink[sle
[all...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Dsymlink.c28 NoN(symlink)
41 symlink(const char* a, char* b)
/osnet-11/usr/src/lib/libast/common/path/
H A Dpathsetlink.c71 return(symlink(t, name));
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dfshelp.c33 READ_SYMLINK is used to read the symlink if a node is a symlink.
144 /* Read in the symlink and follow it. */
147 char *symlink; local
149 /* Test if the symlink does not loop. */
158 symlink = read_symlink (currnode);
161 if (!symlink)
167 /* The symlink is an absolute path, go back to the root inode. */
168 if (symlink[0] == '/')
174 /* Lookup the node the symlink point
[all...]
H A Daffs.c84 hashtable, symlink and block pointers (all synonyms). */
268 char *symlink;
272 symlink = grub_malloc (symlink_size + 1);
273 if (!symlink)
277 symlink_size, symlink);
280 grub_free (symlink);
283 symlink[symlink_size] = 1;
284 grub_dprintf ("affs", "Symlink: `%s'\n", symlink);
285 return symlink;
266 char *symlink; local
H A Diso9660.c164 char symlink[0]; member in struct:grub_fshelp_node
507 ? grub_strdup (node->symlink
536 char *symlink = 0;
538 /* Extend the symlink. */
545 int size = symlink ? grub_strlen (symlink) : 0;
547 symlink = grub_realloc (symlink, size + len2 + 1);
548 if (! symlink)
551 symlink[siz
535 char *symlink = 0; local
[all...]
H A Dufs.c161 grub_uint8_t symlink[(GRUB_UFS_DIRBLKS + GRUB_UFS_INDIRBLKS) * 8]; member in union:grub_ufs_inode::__anon434
185 grub_uint8_t symlink[(GRUB_UFS_DIRBLKS + GRUB_UFS_INDIRBLKS) * 4]; member in union:grub_ufs_inode::__anon436
395 /* Lookup the symlink the current inode points to. INO is the inode
396 number of the directory the symlink is relative to. */
400 char symlink[INODE_SIZE (data) + 1];
405 if (INODE_SIZE (data) <= sizeof (data->inode.symlink))
406 grub_strcpy (symlink, (char *) INODE (data, symlink));
408 grub_ufs_read_file (data, 0, 0, INODE_SIZE (data), symlink);
409 symlink[INODE_SIZ
399 char symlink[INODE_SIZE (data) + 1]; local
[all...]
H A Dminix.c328 /* Lookup the symlink the current inode points to. INO is the inode
329 number of the directory the symlink is relative to. */
333 char symlink[GRUB_MINIX_INODE_SIZE (data) + 1];
339 GRUB_MINIX_INODE_SIZE (data), symlink) < 0)
342 symlink[GRUB_MINIX_INODE_SIZE (data)] = '\0';
344 /* The symlink is an absolute path, go back to the root inode. */
345 if (symlink[0] == '/')
352 grub_minix_find_file (data, symlink);
354 grub_error (grub_errno, "cannot follow symlink `%s'", symlink);
332 char symlink[GRUB_MINIX_INODE_SIZE (data) + 1]; local
[all...]
H A Dext2.c226 char symlink[60]; member in union:grub_ext2_inode::__anon389
622 char *symlink;
632 symlink = grub_malloc (grub_le_to_cpu32 (diro->inode.size) + 1);
633 if (! symlink)
636 /* If the filesize of the symlink is bigger than
637 60 the symlink is stored in a separate block,
640 grub_strncpy (symlink,
641 diro->inode.symlink,
647 symlink);
650 grub_free (symlink);
621 char *symlink; local
[all...]
H A Djfs.c204 /* Fast symlink. */
209 } symlink; member in union:grub_jfs_inode::__anon404
677 /* Check if this is a symlink. */
716 char symlink[size + 1];
721 if (size <= sizeof (data->currinode.symlink.path))
722 grub_strncpy (symlink, (char *) (data->currinode.symlink.path), size);
723 else if (grub_jfs_read_file (data, 0, 0, size, symlink) < 0)
726 symlink[size] = '\0';
728 /* The symlink i
715 char symlink[size + 1]; local
[all...]
H A Dsfs.c326 char *symlink;
342 symlink = grub_strdup (&block[24]);
344 if (!symlink)
347 return symlink;
324 char *symlink; local
H A Dhfsplus.c592 char *symlink;
595 symlink = grub_malloc (node->size + 1);
596 if (!symlink)
599 numread = grub_hfsplus_read_file (node, 0, 0, node->size, symlink);
602 grub_free (symlink);
605 symlink[node->size] = '\0';
607 return symlink;
590 char *symlink; local
H A Dnilfs2.c839 char *symlink;
849 symlink = grub_malloc (grub_le_to_cpu64 (diro->inode.i_size) + 1);
850 if (!symlink)
854 grub_le_to_cpu64 (diro->inode.i_size), symlink);
857 grub_free (symlink);
861 symlink[grub_le_to_cpu64 (diro->inode.i_size)] = '\0';
862 return symlink;
838 char *symlink; local
H A Dxfs.c410 char *symlink;
413 symlink = grub_malloc (size + 1);
414 if (!symlink)
417 numread = grub_xfs_read_file (node, 0, 0, size, symlink);
420 grub_free (symlink);
423 symlink[size] = '\0';
424 return symlink;
408 char *symlink; local
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/File/Find/t/
H A Dfind.t7 my $symlink_exists = eval { symlink("",""); 1 };
314 CheckDie( symlink(':fb',':fa:fsl') ) if $symlink_exists;
316 CheckDie( symlink('../fb','fa/fsl') ) if $symlink_exists;
540 # is a symlink to a directory, and it shouldn't follow the link
648 CheckDie( symlink( dir_path('dangling_dir'),
653 CheckDie( symlink('dangling_file', ':fa:dangling_file_sl') );
655 CheckDie( symlink('../dangling_file','fa/dangling_file_sl') );
696 CheckDie( symlink(':fa:faa',':fa:faa:faa_sl') );
698 CheckDie( symlink('../faa','fa/faa/faa_sl') );
709 CheckDie( symlink('
[all...]
H A Dtaint.t43 my $symlink_exists = eval { symlink("",""); 1 };
244 skip "Creating symlink", 1, unless $symlink_exists;
246 ok( symlink(':fb',':fa:fsl'), 'Created symbolic link' );
248 ok( symlink('../fb','fa/fsl'), 'Created symbolic link' );
355 is( scalar(keys %Expect_File), 0, 'Found all files in symlink test' );
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_compat.h27 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat25
86 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat22
137 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat2
185 int (*symlink) (const char *, const char *); member in struct:fuse_operations_compat1
H A Dfuse_impl.h65 (fs->op.symlink ? fs->op.symlink(link, path) : ENOSYS)
/osnet-11/usr/src/lib/libsecdb/
H A DMakefile114 $(INS.symlink)
117 $(INS.symlink)
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dunistd.in.h1157 # undef symlink
1158 # define symlink rpl_symlink
1160 _GL_FUNCDECL_RPL (symlink, int, (char const *contents, char const *file)
1162 _GL_CXXALIAS_RPL (symlink, int, (char const *contents, char const *file));
1165 _GL_FUNCDECL_SYS (symlink, int, (char const *contents, char const *file)
1168 _GL_CXXALIAS_SYS (symlink, int, (char const *contents, char const *file));
1170 _GL_CXXALIASWARN (symlink);
1172 # undef symlink
1174 _GL_WARN_ON_USE (symlink, "symlink i
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dtaint.t379 test 59, eval { symlink $TAINT, '' } eq '', 'symlink';
383 for (59..60) { print "ok $_ # Skipped: symlink() is not available\n" }
621 my $symlink = "sl$$";
622 unlink($symlink);
626 symlink($sl, $symlink) or die "symlink: $!\n";
627 my $readlink = readlink($symlink);
629 unlink($symlink);
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Cwd/t/
H A Dcwd.t73 # /tmp is a symlink to /private/tmp. Therefore we invalidate
132 symlink $Test_Dir => "linktest";

Completed in 107 milliseconds

12