copy_filecopy_fileCopyFileCopyFilecopy_file (Operator)
Name
copy_filecopy_fileCopyFileCopyFilecopy_file — Kopieren einer Datei.
Signatur
Beschreibung
copy_filecopy_fileCopyFileCopyFileCopyFilecopy_file kopiert SourceFileSourceFileSourceFileSourceFilesourceFilesource_file nach DestinationFileDestinationFileDestinationFileDestinationFiledestinationFiledestination_file.
Bereits existierende Dateien werden ohne Nachfrage überschrieben. Die
Dateiattribute von SourceFileSourceFileSourceFileSourceFilesourceFilesource_file werden übernommen.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
SourceFileSourceFileSourceFileSourceFilesourceFilesource_file (input_control) filename.read → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Zu kopierende Datei.
DestinationFileDestinationFileDestinationFileDestinationFiledestinationFiledestination_file (input_control) filename.write → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Zielort für die Kopie.
Ergebnis
copy_filecopy_fileCopyFileCopyFileCopyFilecopy_file liefert den Wert 2 (H_MSG_TRUE), falls die Datei kopiert werden
konnte.
Gegebenenfalls wird eine Exception-Behandlung durchgeführt.
Modul
Foundation