summaryrefslogtreecommitdiffstats
path: root/Doc/libmacfs.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-08-18 15:14:26 (GMT)
committerGuido van Rossum <guido@python.org>1997-08-18 15:14:26 (GMT)
commite229d8636dd42e3979afe1d5fc59890a32b9ad42 (patch)
tree9f972f31d6df57ac89c417391ea55d4d55e8da5f /Doc/libmacfs.tex
parent9918e0c750d7a78dd913ba6b3224041176c4e015 (diff)
downloadcpython-e229d8636dd42e3979afe1d5fc59890a32b9ad42.zip
cpython-e229d8636dd42e3979afe1d5fc59890a32b9ad42.tar.gz
cpython-e229d8636dd42e3979afe1d5fc59890a32b9ad42.tar.bz2
Misc Mac mods by Jack. Added libmacic.tex, and these patches:
libmacfs.tex Document NewAliasMinimalFromFullPath libmacos.tex Document SetEventHandler and SchedParams libmacui.tex Document asynchronous event handling libmailbox.tex Removed mime-turds that somehow got in here
Diffstat (limited to 'Doc/libmacfs.tex')
-rw-r--r--Doc/libmacfs.tex9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/libmacfs.tex b/Doc/libmacfs.tex
index 6f63a47..0ce4ff1 100644
--- a/Doc/libmacfs.tex
+++ b/Doc/libmacfs.tex
@@ -86,6 +86,11 @@ search, \var{which} is the 4-char string specifying which folder to
locate. Setting \var{create} causes the folder to be created if it
does not exist. Returns a \code{(vrefnum, dirid)} tuple.
+\begin{funcdesc}{NewAliasMinimalFromFullPath}{pathname}
+Return a minimal alias record object that points to the given file, which
+must be specified as a full pathname. This is the only way to create an
+alias record pointing to a non-existing file.
+
The constants for \var{where} and \var{which} can be obtained from the
standard module \var{MACFS}.
\end{funcdesc}
@@ -164,7 +169,9 @@ or transmitting to other programs.
Resolve the alias. If the alias was created as a relative alias you
should pass the file relative to which it is. Return the FSSpec for
the file pointed to and a flag indicating whether the alias object
-itself was modified during the search process.
+itself was modified during the search process. If the file does
+not exist but the path leading up to it does exist a valid fsspec
+is returned.
\end{funcdesc}
\begin{funcdesc}{GetInfo}{num}