83:3b552d7a9610 | 84:7465c18765dc |
---|---|
61 } | 61 } |
62 return dst; | 62 return dst; |
63 } | 63 } |
64 | 64 |
65 int ucx_buffer_seek(UcxBuffer *buffer, off_t offset, int whence) { | 65 int ucx_buffer_seek(UcxBuffer *buffer, off_t offset, int whence) { |
66 off_t npos; | 66 off_t npos = 0; |
67 switch (whence) { | 67 switch (whence) { |
68 case SEEK_SET: | 68 case SEEK_SET: |
69 npos = 0; | 69 npos = 0; |
70 break; | 70 break; |
71 case SEEK_CUR: | 71 case SEEK_CUR: |