blob: a76163603bae5e3a5c79bdbc715402d6f1f7893d [file] [log] [blame]
Guido van Rossumd8eb2111998-08-04 17:57:28 +00001/*
2** copy_attrs.h - copy BeFS attributes from one file to another
3**
4** $Id$
5**
6** Jan. 11, 1998 Chris Herborth (chrish@qnx.com)
7**
8** This code is donated to the PUBLIC DOMAIN. You can use, abuse, modify,
9** redistribute, steal, or otherwise manipulate this code. No restrictions
10** at all. If you laugh at this code, you can't use it.
11*/
12
13/* ----------------------------------------------------------------------
14** Function prototypes
15**
16** copy_attrs() - copy BeFS attributes from one file to another
17**
18** Returns:
19** B_OK - all is well
20** B_FILE_NOT_FOUND - can't open one of the named files
21** B_IO_ERROR - can't read/write some of the file attributes
22** B_NO_MEMORY - unable to allocate a buffer for the attribute data
23*/
24status_t copy_attrs( const char *dest_file, const char *src_file );