FUNCTION: acl_t acl_get_fd ( int fd )
FUNCTION: acl_t acl_get_fd_np ( int fd, acl_type_t type )
-FUNCTION: acl_t acl_get_file ( char* path_p, acl_type_t type )
-FUNCTION: acl_t acl_get_link_np ( char* path_p, acl_type_t type )
+FUNCTION: acl_t acl_get_file ( c-string path_p, acl_type_t type )
+FUNCTION: acl_t acl_get_link_np ( c-string path_p, acl_type_t type )
-FUNCTION: int acl_set_file ( char* path_p, acl_type_t type, acl_t acl )
+FUNCTION: int acl_set_file ( c-string path_p, acl_type_t type, acl_t acl )
FUNCTION: int acl_get_entry ( acl_t acl, int entry_id, acl_entry_t* entry_p )
FUNCTION: ssize_t acl_copy_ext_native ( void* buf_p, acl_t acl, ssize_t size )
FUNCTION: acl_t acl_copy_int ( void* buf_p )
FUNCTION: acl_t acl_copy_int_native ( void* buf_p )
-FUNCTION: acl_t acl_from_text ( char* buf_p )
+FUNCTION: acl_t acl_from_text ( c-string buf_p )
FUNCTION: ssize_t acl_size ( acl_t acl )
-FUNCTION: char* acl_to_text ( acl_t acl, ssize_t* len_p )
+FUNCTION: c-string acl_to_text ( acl_t acl, ssize_t* len_p )
FUNCTION: int acl_valid ( acl_t acl )
FUNCTION: int acl_add_perm ( acl_permset_t permset_d, acl_perm_t perm )
FUNCTION: int acl_delete_perm ( acl_permset_t permset_d, acl_perm_t perm )
TYPEDEF: char[37] uuid_string_t
-FUNCTION: int mbr_uuid_to_string ( uuid_t uu, char* string )
+FUNCTION: int mbr_uuid_to_string ( uuid_t uu, c-string string )
--- /dev/null
+! Copyright (C) 2021 Doug Coleman.
+! See http://factorcode.org/license.txt for BSD license.
+USING: io.files.acls.macosx io.pathnames system tools.test ;
+IN: io.files.acls.macosx.tests
+
+{ } [ vm-path acls. ] unit-test
+{ } [ home "Pictures" append-path acls. ] unit-test