SL_MakePath


NAME
SL_MakePath -- concats a filename onto a path specification.

SYNOPSIS
buffer = SL_MakePath(path, file, buff, bufflen);
D0 A0 A1 A2 D0

SLCHAR *SL_MakePath(SLCHAR *, SLCHAR *, SLCHAR *, UWORD);

FUNCTION
Copies the path into the buffer and adds the file to it in an OS
compatable manner to make a valid complete path.

For example, on the Amiga: SL_MakePath("work:system", "rexxmast", buff, 256);
will cause buff to contain: "work:system/rexxmast".

INPUTS
path - the path name - may be NULL.
file - the file name - may be NULL.
buffer - the buffer to recieve the completed file specification.
bufflen - the length of the buffer.

RESULTS
buffer - this is returned on success, NULL is returned on failure.
Failure could occur if there was not enough room in buffer
to hold the completed filename.

SEE ALSO
SL_BeginExamine, SL_CloseFile, SL_DeleteFile, SL_DoesFileExist, SL_EndExamine, SL_EndFileNotify, SL_ExamineFirstFile, SL_ExamineNextFile, SL_FileRequesterA, SL_FlushFile, SL_GetExFileInfo, SL_GetExFileInfoFH, SL_GetFileName, SL_GetFileNotifyAttrA, SL_GetFilePath, SL_GetFilePos, SL_GetFileSize, SL_GetFileSizeFH, SL_LockFile, SL_MakePath, SL_OpenClipboard, SL_OpenFile, SL_ReadFile, SL_RenameFile, SL_SeekFile, SL_SetFileNotifyAttrA, SL_UnlockFile, SL_WriteFile.

 

SL_MakePath  Command Section By Type  url:SL_MakePath
  created:2008-03-01 23:36:17   last updated:2008-03-01 23:36:17
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.

User Contributed Comments For SL_MakePath
There are no user contributed comments for this page.