From fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 8 Jul 2015 20:46:52 -0400 Subject: Initial commit --- sys/nmemio/sizeof.x | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sys/nmemio/sizeof.x (limited to 'sys/nmemio/sizeof.x') diff --git a/sys/nmemio/sizeof.x b/sys/nmemio/sizeof.x new file mode 100644 index 00000000..3b4977fe --- /dev/null +++ b/sys/nmemio/sizeof.x @@ -0,0 +1,12 @@ +# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. + +# SIZEOF -- Return the size in chars of one of the fundamental datatypes. + +int procedure sizeof (dtype) + +int dtype +include + +begin + return (ty_size[dtype]) +end -- cgit