diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-08-25 01:33:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-08-25 01:33:54 +0000 |
commit | 7b5fd91d777e44e212556a4bbee51b6429ddd869 (patch) | |
tree | 6db8e71dc9dabc93a03ff81c81c5dcbb1d188799 /conform/data | |
parent | 248286e53395f6302030ca5f032f356faf2d9798 (diff) | |
download | glibc-7b5fd91d777e44e212556a4bbee51b6429ddd869.tar glibc-7b5fd91d777e44e212556a4bbee51b6429ddd869.tar.gz glibc-7b5fd91d777e44e212556a4bbee51b6429ddd869.tar.bz2 glibc-7b5fd91d777e44e212556a4bbee51b6429ddd869.zip |
Update.
* conform/conformtest.pl (@headers): Add monetary.h-data,
mqueue.h-data, ndbm.h-data, nl_types.h-data, and poll.h-data.
* conform/data/monetary.h-data: New file.
* conform/data/mqueue.h-data: New file.
* conform/data/ndbm.h-data: New file.
* conform/data/nl_types.h.h-data: New file.
* conform/data/poll.h-data: New file.
Diffstat (limited to 'conform/data')
-rw-r--r-- | conform/data/monetary.h-data | 8 | ||||
-rw-r--r-- | conform/data/mqueue.h-data | 28 | ||||
-rw-r--r-- | conform/data/ndbm.h-data | 26 | ||||
-rw-r--r-- | conform/data/nl_types.h-data | 13 | ||||
-rw-r--r-- | conform/data/poll.h-data | 23 |
5 files changed, 98 insertions, 0 deletions
diff --git a/conform/data/monetary.h-data b/conform/data/monetary.h-data new file mode 100644 index 0000000000..eab8384d76 --- /dev/null +++ b/conform/data/monetary.h-data @@ -0,0 +1,8 @@ +#if !defined ISO && !defined POSIX +type size_t +type ssize_t + +function ssize_t strfmon (char*, size_t, const char*, ...) + +allow *_t +#endif diff --git a/conform/data/mqueue.h-data b/conform/data/mqueue.h-data new file mode 100644 index 0000000000..2b02455e00 --- /dev/null +++ b/conform/data/mqueue.h-data @@ -0,0 +1,28 @@ +#ifndef ISO +# should test for not an array type. +type mqd_t + +type {struct sigevent} + +type {struct mq_attr} +element {struct mq_attr} long mq_flags +element {struct mq_attr} long mq_maxmsg +element {struct mq_attr} long mq_msgsize +element {struct mq_attr} long mq_curmsg + +function int mq_close (mqd_t) +function int mq_getattr (mqd_t, struct mq_attr*) +function int mq_notify (mqd_t, const struct sigevent*) +function mqd_t mq_open (const char*, int, ...) +function ssize_t mq_receive (mqd_t, char*, size_t, unsigned int*) +function int mq_send (mqd_t, const char*, size_t, unsigned int) +function int mq_setattr (mqd_t, const struct mq_attr*, struct mq_attr*) +function int mq_unlink (const char*) + +allow-header fcntl.h +allow-header signal.h +allow-header sys/types.h +allow-header time.h + +allow *_t +#endif diff --git a/conform/data/ndbm.h-data b/conform/data/ndbm.h-data new file mode 100644 index 0000000000..7843941114 --- /dev/null +++ b/conform/data/ndbm.h-data @@ -0,0 +1,26 @@ +#if !defined ISO && !defined POSIX +type datum +element datum {void*} dptr +element datum size_t dsize + +type size_t + +type DBM + +type mode_t + +constant DBM_INSERT +constant DBM_REPLACE + +function int dbm_clearerr (DBM*) +function void dbm_close (DBM*) +function int dbm_delete (DBM*, datum) +function int dbm_error (DBM*) +function datum dbm_fetch (DBM*, datum) +function datum dbm_firstkey (DBM*) +function datum dbm_nextkey (DBM*) +function {DBM*} dbm_open (const char*, int, mode_t) +function int dbm_store (DBM*, datum, datum, int) + +allow *_t +#endif diff --git a/conform/data/nl_types.h-data b/conform/data/nl_types.h-data new file mode 100644 index 0000000000..91eacafa96 --- /dev/null +++ b/conform/data/nl_types.h-data @@ -0,0 +1,13 @@ +#if !defined ISO && !defined POSIX +type nl_catd +type nl_item + +constant NL_SETD +constant NL_CAT_LOCALE + +function int catclose (nl_catd) +function {char*} catgets (nl_catd, int, int, char char*) +function nl_catd catopen (const char*, int) + +allow *_t +#endif diff --git a/conform/data/poll.h-data b/conform/data/poll.h-data new file mode 100644 index 0000000000..fdc7b2f5ea --- /dev/null +++ b/conform/data/poll.h-data @@ -0,0 +1,23 @@ +#if !defined ISO && !defined POSIX +type {struct pollfd} +element {struct pollfd} int fd +element {struct pollfd} {short int} events +element {struct pollfd} {short int} revents + +type nfds_t + +constant POLLIN +constant POLLRDNORM +constant POLLRDBAND +constant POLLPRI +constant POLLOUT +constant POLLWRNORM +constant POLLWRBAND +constant POLLERR +constant POLLHUP +constant POLLNVAL + +function int poll (struct pollfd[], nfsd_t, int) + +allow *_t +#endif |