Changes in uspace/dist/src/c/demos/edit/sheet.c [70b570c:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/edit/sheet.c
r70b570c rb7fd2a0 67 67 68 68 /** Initialize an empty sheet. */ 69 int sheet_create(sheet_t **rsh)69 errno_t sheet_create(sheet_t **rsh) 70 70 { 71 71 sheet_t *sh; … … 95 95 * @param str The text to insert (printable characters, tabs, newlines). 96 96 * 97 * @return EOK on success or negativeerror code.97 * @return EOK on success or an error code. 98 98 * 99 99 * @note @a dir affects which way tags that were placed on @a pos will … … 101 101 * and vice versa. 102 102 */ 103 int sheet_insert(sheet_t *sh, spt_t *pos, enum dir_spec dir, char *str)103 errno_t sheet_insert(sheet_t *sh, spt_t *pos, enum dir_spec dir, char *str) 104 104 { 105 105 char *ipp; … … 145 145 * @param epos Ending point. 146 146 * 147 * @return EOK on success or negativeerror code.147 * @return EOK on success or an error code. 148 148 **/ 149 int sheet_delete(sheet_t *sh, spt_t *spos, spt_t *epos)149 errno_t sheet_delete(sheet_t *sh, spt_t *spos, spt_t *epos) 150 150 { 151 151 char *spp;
Note:
See TracChangeset
for help on using the changeset viewer.