kernel: remove unused utsname_set_machine()
[unleashed.git] / usr / src / lib / libast / sparc / include / ast / stak.h
blob4396bdf02b65e76c7a37a994d7d0e0f233afeef8
2 /* : : generated by proto : : */
3 /***********************************************************************
4 * *
5 * This software is part of the ast package *
6 * Copyright (c) 1985-2010 AT&T Intellectual Property *
7 * and is licensed under the *
8 * Common Public License, Version 1.0 *
9 * by AT&T Intellectual Property *
10 * *
11 * A copy of the License is available at *
12 * http://www.opensource.org/licenses/cpl1.0.txt *
13 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
14 * *
15 * Information and Software Systems Research *
16 * AT&T Research *
17 * Florham Park NJ *
18 * *
19 * Glenn Fowler <gsf@research.att.com> *
20 * David Korn <dgk@research.att.com> *
21 * Phong Vo <kpv@research.att.com> *
22 * *
23 ***********************************************************************/
26 * David Korn
27 * AT&T Research
29 * Interface definitions for a stack-like storage library
33 #ifndef _STAK_H
34 #if !defined(__PROTO__)
35 #include <prototyped.h>
36 #endif
37 #if !defined(__LINKAGE__)
38 #define __LINKAGE__ /* 2004-08-11 transition */
39 #endif
41 #define _STAK_H
43 #include <stk.h>
45 #define Stak_t Sfio_t
46 #define staksp stkstd
47 #define STAK_SMALL STK_SMALL
49 #define stakptr(n) stkptr(stkstd,n)
50 #define staktell() stktell(stkstd)
51 #define stakputc(c) sfputc(stkstd,(c))
52 #define stakwrite(b,n) sfwrite(stkstd,(b),(n))
53 #define stakputs(s) (sfputr(stkstd,(s),0),--stkstd->_next)
54 #define stakseek(n) stkseek(stkstd,n)
55 #define stakcreate(n) stkopen(n)
56 #define stakinstall(s,f) stkinstall(s,f)
57 #define stakdelete(s) stkclose(s)
58 #define staklink(s) stklink(s)
59 #define stakalloc(n) stkalloc(stkstd,n)
60 #define stakcopy(s) stkcopy(stkstd,s)
61 #define stakset(c,n) stkset(stkstd,c,n)
62 #define stakfreeze(n) stkfreeze(stkstd,n)
64 #endif