Guido van Rossum | d8eb211 | 1998-08-04 17:57:28 +0000 | [diff] [blame] | 1 | /* |
| 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 | */ |
| 24 | status_t copy_attrs( const char *dest_file, const char *src_file ); |