posixc.library: extract child creation in vfork to separate function
[AROS.git] / workbench / libs / uuid / uuid_copy.c
blob56603b8936e0419d2398cffcad7410aa6541cd01
1 /*
2 Copyright © 2007-2008, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define DEBUG 1
8 #include <aros/symbolsets.h>
9 #include <aros/debug.h>
10 #include <aros/libcall.h>
11 #include <proto/exec.h>
13 #include <stdio.h>
14 #include <stdlib.h>
15 #include <ctype.h>
17 #include "uuid_private.h"
18 #include LC_LIBDEFS_FILE
20 /*****************************************************************************
22 NAME */
23 AROS_LH2I(void, UUID_Copy,
25 /* SYNOPSIS */
26 AROS_LHA(const uuid_t *, src, A0),
27 AROS_LHA(uuid_t *, dst, A1),
29 /* LOCATION */
30 struct uuid_base *, UUIDBase, 12, UUID)
32 /* FUNCTION
33 Copies the UUID's.
35 INPUTS
36 src - the source UUID.
37 dst - the desitation UUID.
39 RESULT
40 This function always succeeds.
42 NOTES
44 EXAMPLE
46 BUGS
48 SEE ALSO
50 INTERNALS
52 *****************************************************************************/
54 AROS_LIBFUNC_INIT
56 ASSERT(dst);
57 ASSERT(src);
59 *dst = *src;
61 AROS_LIBFUNC_EXIT