@@ -33,11 +33,11 @@ * \param path The path to the file to open as a string * \param mode The mode in which the file should be opened as a string * \return A new autoreleased OFFile */ + fileWithPath: (OFString*)path - andMode: (OFString*)mode; + mode: (OFString*)mode; /** * \return An OFFile singleton for stdin */ + standardInput; @@ -75,12 +75,12 @@ * \param owner The new owner for the file * \param group The new group for the file * \return A boolean whether the operation succeeded */ + (void)changeOwnerOfFile: (OFString*)path - toOwner: (uid_t)owner - andGroup: (gid_t)group; + owner: (uid_t)owner + group: (gid_t)group; /** * Deletes a file. * * \param path The path to the file of which should be deleted as a string @@ -118,11 +118,11 @@ * \param path The path to the file to open as a string * \param mode The mode in which the file should be opened as a string * \return An initialized OFFile */ - initWithPath: (OFString*)path - andMode: (OFString*)mode; + mode: (OFString*)mode; /** * Reads from the file into a buffer. * * \param buf The buffer into which the data is read