Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Jun 1996 09:16:55 -0700
From:      Poul-Henning Kamp <phk@freebsd.org>
To:        hackers@freebsd.org
Subject:   bit 7 in filenames
Message-ID:  <4293.834250615@critter.tfs.com>

next in thread | raw e-mail | index | archive | help


SYMLINK(2)		  FreeBSD Programmer's Manual		    SYMLINK(2)

NAME
     symlink - make symbolic link to a file

SYNOPSIS
     #include <unistd.h>

     int
     symlink(const char *name1, const char *name2)

ERRORS
     The symbolic link succeeds unless:

     [ENOTDIR]
	       A component of the name2 prefix is not a directory.

     [EINVAL]  Either name1 or name2 contains a character with the high-order
	       bit set.

HUH ????

Actually there should be an error return, if I try to make a filename
that is illegal for the filesystem.

For instance
	create("/msdosfs/foo:bar")
is an invalid name...

Poul-Henning
--
Poul-Henning Kamp           | phk@FreeBSD.ORG       FreeBSD Core-team.
http://www.freebsd.org/~phk | phk@login.dknet.dk    Private mailbox.
whois: [PHK]                | phk@ref.tfs.com       TRW Financial Systems, Inc.
Future will arrive by its own means, progress not so.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4293.834250615>