summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-07 14:34:36 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-09-07 14:34:36 (GMT)
commit5a67846a1bca5cfd90804116cad4e7cb13d7fec3 (patch)
tree0cf61eb69e3321b87c06311dc4b2ef3b75629961 /doc
parent7981bfb58d1a23411bf9cc16e75b4631cb5c005c (diff)
downloadtcl-5a67846a1bca5cfd90804116cad4e7cb13d7fec3.zip
tcl-5a67846a1bca5cfd90804116cad4e7cb13d7fec3.tar.gz
tcl-5a67846a1bca5cfd90804116cad4e7cb13d7fec3.tar.bz2
Exchange TclZipfs_MountBuffer/"zipfs mount_data" arguments as well
Diffstat (limited to 'doc')
-rw-r--r--doc/zipfs.34
-rw-r--r--doc/zipfs.n2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/zipfs.3 b/doc/zipfs.3
index a4bb486..c67ce67 100644
--- a/doc/zipfs.3
+++ b/doc/zipfs.3
@@ -20,7 +20,7 @@ int
\fBTclZipfs_Mount\fR(\fIinterp, zipname, mountpoint, password\fR)
.sp
int
-\fBTclZipfs_MountBuffer\fR(\fIinterp, mountpoint, data, dataLen, copy\fR)
+\fBTclZipfs_MountBuffer\fR(\fIinterp, data, dataLen, mountpoint, copy\fR)
.sp
int
\fBTclZipfs_Unmount\fR(\fIinterp, mountpoint\fR)
@@ -43,7 +43,7 @@ Name of a mount point, which must be a legal Tcl file or directory name. May
be NULL to query current mount points.
.AP "const char" *password in
An (optional) password. Use NULL if no password is wanted to read the file.
-.AP "unsigned char" *data in
+.AP "const void" *data in
A data buffer to mount. The data buffer must hold the contents of a ZIP
archive, and must not be NULL.
.AP size_t dataLen in
diff --git a/doc/zipfs.n b/doc/zipfs.n
index b04eeb5..1e6ddad 100644
--- a/doc/zipfs.n
+++ b/doc/zipfs.n
@@ -31,7 +31,7 @@ zipfs \- Mount and work with ZIP files within Tcl
\fBzipfs unmount\fR \fImountpoint\fR
.fi
'\" The following subcommand is *UNDOCUMENTED*
-'\" \fBzipfs mount_data\fR ?\fImountpoint\fR? ?\fIdata\fR?
+'\" \fBzipfs mount_data\fR ?\fIdata\fR ?\fImountpoint\fR??
.BE
.SH DESCRIPTION
.PP