version 1.5, 2000/06/20 07:09:45 |
version 1.6, 2000/06/20 07:58:57 |
|
|
* Base utility set v0.1 |
* Base utility set v0.1 |
*/ |
*/ |
|
|
|
#include <fstab.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <strings.h> |
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <fstab.h> |
#include <strings.h> |
|
|
#include <miscfs/tcfs/tcfs.h> |
#include <miscfs/tcfs/tcfs.h> |
#include "tcfslib.h" |
#include "tcfslib.h" |
|
|
if (tcfs_get_label(label, NULL, &ciphernum)) |
if (tcfs_get_label(label, NULL, &ciphernum)) |
return (ciphernum); |
return (ciphernum); |
|
|
return (-1); |
return (-1); |
} |
} |
|
|
int |
int |
|
|
break; |
break; |
|
|
if (path) { |
if (path) { |
strcpy(path, mountpoint); |
strlcpy(path, mountpoint, sizeof(*path)); |
found = 1; |
found = 1; |
} |
} |
|
|