]>
Commit | Line | Data |
---|---|---|
885824d3 | 1 | /* |
28bf4b0b | 2 | ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001. |
885824d3 | 3 | ** See ../LICENSE for license information. |
4 | ** | |
5 | */ | |
6 | typedef struct limwr_t { | |
7 | int (*puts) (/* struct limwr_t *self, char *s, int slen */); | |
8 | unsigned (*tell) (/* struct limwr_t *self */); | |
9 | int (*seek) (/* struct limwr_t *self, unsigned n */); | |
10 | void (*close) (/* struct limwr_t *self */); | |
11 | } *limwr_t; | |
12 | ||
13 | mail() | |
14 | { | |
15 | liwmr_t y; | |
16 | int i; | |
17 | ||
18 | i = (y->puts)(); | |
19 | ||
20 | i = (y->close)(); |