00001 /* 00002 ** copy.h for lseos in lseos-lib/libc/sysinterf 00003 ** 00004 ** Copyright (c)2004 Vianney Rancurel 00005 ** Login <vianney@epita.fr> 00006 ** 00007 ** Started on Fri May 7 15:02:08 2004 Vianney Rancurel 00008 ** Last update Fri Mar 18 13:45:13 2005 Christophe Eymard 00009 */ 00010 #ifndef __SYSINTERF_COPY_H__ 00011 #define __SYSINTERF_COPY_H__ 1 00012 #include <libc.h> 00013 00014 /* PROTO copy.c */ 00015 /* copy.c */ 00016 00017 00032 int copy(pid_t from_pid, char *from_buf, pid_t to_pid, char *to_buf, size_t len); 00033 00034 00035 int copyinstr(pid_t from_pid, char *from_str, char *to_str, size_t max_len); 00036 int ascopy(asid_t from_asid, char *from_buf, asid_t to_asid, char *to_buf, size_t len); 00037 #endif