aboutsummaryrefslogtreecommitdiffstats
path: root/man/TYPE_MIN.3libsimple
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-11-05 23:03:15 +0100
committerMattias Andrée <maandree@kth.se>2018-11-05 23:03:15 +0100
commit2cc97e5ce4a53ba52e6c283bdabe7b5028d237ed (patch)
tree97e77ff81fc6cea7ac3ac54657dbdf3b882b08df /man/TYPE_MIN.3libsimple
parentAdd man page for libsimple_close (diff)
downloadlibsimple-2cc97e5ce4a53ba52e6c283bdabe7b5028d237ed.tar.gz
libsimple-2cc97e5ce4a53ba52e6c283bdabe7b5028d237ed.tar.bz2
libsimple-2cc97e5ce4a53ba52e6c283bdabe7b5028d237ed.tar.xz
Add more man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'man/TYPE_MIN.3libsimple')
-rw-r--r--man/TYPE_MIN.3libsimple77
1 files changed, 77 insertions, 0 deletions
diff --git a/man/TYPE_MIN.3libsimple b/man/TYPE_MIN.3libsimple
new file mode 100644
index 0000000..6720465
--- /dev/null
+++ b/man/TYPE_MIN.3libsimple
@@ -0,0 +1,77 @@
+.TH TYPE_MIN 3 2018-11-05 libsimple
+.SH NAME
+TYPE_MIN \- get smallest value for an integer type
+.SH SYNOPSIS
+.nf
+#include <libsimple.h>
+
+#ifndef TYPE_MIN
+# define TYPE_MIN(type) /* implementation omitted */
+#endif
+.fi
+.SH DESCRIPTION
+The
+.BR TYPE_MIN ()
+macro assumes
+.I type
+is an integer type and expands to the smallest value
+that can be stored in the
+.IR TYPE ,
+as a constant expression; however it is not suitable for
+.BR #if .
+.PP
+The
+.IB <libsimple.h>
+heading contains macro constants, using the
+.BR TYPE_MIN ()
+macro, for the minimum value for multiple integer types:
+.BR BLKCNT64_MIN ,
+.BR BLKCNT_MIN ,
+.BR BLKSIZE_MIN ,
+.BR CC_MIN ,
+.BR CLOCKID_MIN ,
+.BR CLOCK_MIN ,
+.BR DEV_MIN ,
+.BR FSBLKCNT64_MIN ,
+.BR FSBLKCNT_MIN ,
+.BR FSFILCNT64_MIN ,
+.BR FSFILCNT_MIN ,
+.BR GID_MIN ,
+.BR ID_MIN ,
+.BR INO64_MIN ,
+.BR INO_MIN ,
+.BR KEY_MIN ,
+.BR LOFF_MIN ,
+.BR MODE_MIN ,
+.BR NLINK_MIN ,
+.BR OFF64_MIN ,
+.BR OFF_MIN ,
+.BR PID_MIN ,
+.BR QUAD_MIN ,
+.BR REGISTER_MIN ,
+.BR RLIM64_MIN ,
+.BR RLIM_MIN ,
+.BR SOCKLEN_MIN ,
+.BR SPEED_MIN ,
+.BR SUSECONDS_MIN ,
+.BR TCFLAG_MIN ,
+.BR TIME_MIN ,
+.BR UID_MIN ,
+.BR USECONDS_MIN ,
+and
+.BR U_QUAD_MIN .
+.SH EXAMPLES
+None.
+.SH APPLICATION USAGE
+None.
+.SH RATIONALE
+None.
+.SH FUTURE DIRECTIONS
+None.
+.SH NOTES
+None.
+.SH BUGS
+None.
+.SH SEE ALSO
+.BR TYPE_MAX (3libsimple)
+.BR INTSTRLEN (3libsimple)