aboutsummaryrefslogtreecommitdiff
path: root/pkg/tbtables/fitsio/fitssppb/fscopy.x
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tbtables/fitsio/fitssppb/fscopy.x')
-rw-r--r--pkg/tbtables/fitsio/fitssppb/fscopy.x17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/tbtables/fitsio/fitssppb/fscopy.x b/pkg/tbtables/fitsio/fitssppb/fscopy.x
new file mode 100644
index 00000000..aa508f34
--- /dev/null
+++ b/pkg/tbtables/fitsio/fitssppb/fscopy.x
@@ -0,0 +1,17 @@
+include "fitsio.h"
+
+procedure fscopy(iunit,ounit,moreky,status)
+
+# copies the CHDU from IUNIT to the CHDU of OUNIT.
+# This will also reserve space in the header for MOREKY keywords
+# if MOREKY > 0.
+
+int iunit # i input file pointer
+int ounit # i output file pointer
+int moreky # i how many more keywords
+int status # o error status
+
+begin
+
+call ftcopy(iunit,ounit,moreky,status)
+end