summaryrefslogtreecommitdiff
path: root/lib/jtty/c_funcs.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
commit059831534c7e884f0a607ed86b582fd00d821731 (patch)
tree76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/jtty/c_funcs.f90
parentd83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff)
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/jtty/c_funcs.f90')
-rw-r--r--lib/jtty/c_funcs.f9013
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/jtty/c_funcs.f90 b/lib/jtty/c_funcs.f90
new file mode 100644
index 00000000..3c21cf16
--- /dev/null
+++ b/lib/jtty/c_funcs.f90
@@ -0,0 +1,13 @@
+MODULE c_funcs
+
+ USE, INTRINSIC :: ISO_C_BINDING
+ IMPLICIT NONE
+
+ INTERFACE
+ ! Use BIND(C, name="putc") to link to the C library function
+ FUNCTION c_putc(character) BIND(C, name="putchar")
+ INTEGER(C_INT) :: c_putc
+ END FUNCTION c_putc
+ END INTERFACE
+
+ END MODULE C_Funcs