xref: /titanic_41/usr/src/cmd/sendmail/db/include/os_ext.h (revision 70025d765b044c6d8594bb965a2247a61e991a99)
1 /* DO NOT EDIT: automatically built by dist/distrib. */
2 #ifndef _os_ext_h_
3 #define _os_ext_h_
4 int __os_abspath __P((const char *));
5 int __os_strdup __P((const char *, void *));
6 int __os_calloc __P((size_t, size_t, void *));
7 int __os_malloc __P((size_t, void *(*)(size_t), void *));
8 int __os_realloc __P((void *, size_t));
9 void __os_free __P((void *, size_t));
10 void __os_freestr __P((void *));
11 int __os_dirlist __P((const char *, char ***, int *));
12 void __os_dirfree __P((char **, int));
13 int __os_fileid __P((DB_ENV *, const char *, int, u_int8_t *));
14 int __os_fsync __P((int));
15 int __db_mapanon_ok __P((int));
16 int __db_mapinit __P((void));
17 int __db_mapregion __P((char *, REGINFO *));
18 int __db_unmapregion __P((REGINFO *));
19 int __db_unlinkregion __P((char *, REGINFO *));
20 int __db_mapfile __P((char *, int, size_t, int, void **));
21 int __db_unmapfile __P((void *, size_t));
22 u_int32_t __db_oflags __P((int));
23 int __db_omode __P((const char *));
24 int __db_open __P((const char *, u_int32_t, u_int32_t, int, int *));
25 int __os_open __P((const char *, int, int, int *));
26 int __os_close __P((int));
27 char *__db_rpath __P((const char *));
28 int __os_io __P((DB_IO *, int, ssize_t *));
29 int __os_read __P((int, void *, size_t, ssize_t *));
30 int __os_write __P((int, void *, size_t, ssize_t *));
31 int __os_seek __P((int, size_t, db_pgno_t, u_int32_t, int, int));
32 int __os_sleep __P((u_long, u_long));
33 int __os_spin __P((void));
34 void __os_yield __P((u_long));
35 int __os_exists __P((const char *, int *));
36 int __os_ioinfo
37    __P((const char *, int, u_int32_t *, u_int32_t *, u_int32_t *));
38 int __os_tmpdir __P((DB_ENV *, u_int32_t));
39 int __os_unlink __P((const char *));
40 #endif /* _os_ext_h_ */
41