blob: 06ddb4bde5c6e4b9419ffec599308650f8ac9ac3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
This lets you implement filesystems in perl, through the FUSE
(Filesystem in USErspace) kernel/lib interface.
FUSE expects you to implement callbacks for the various functions.
In the following definitions, "errno" can be 0 (for a success),
-EINVAL, -ENOENT, -EONFIRE, any integer less than 1 really.
You can import standard error constants by saying something like "use
POSIX qw(EDOTDOT ENOANO);".
Every constant you need (file types, open() flags, error values, etc)
can be imported either from POSIX or from Fcntl, often both. See their
respective documentations, for more information.
|