* Create help for explaining how encrypted password file support
[alpine.git] / pith / util.c
blob56f586da03b699e505d1397a0288dcc817261384
1 #if !defined(lint) && !defined(DOS)
2 static char rcsid[] = "$Id: util.c 761 2007-10-23 22:35:18Z hubert@u.washington.edu $";
3 #endif
5 /*
6 * ========================================================================
7 * Copyright 2006 University of Washington
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * ========================================================================
18 #include "../pith/headers.h"
19 #include "../pith/util.h"
23 * Internal prototypes
28 * Allocate space for an int and copy val into it.
30 int *
31 cpyint(int val)
33 int *ip;
35 ip = (int *)fs_get(sizeof(int));
37 *ip = val;
39 return(ip);