def sys_rename(self, oldnamep, newnamep):
oldname = self.current.read_string(oldnamep)<EOL>newname = self.current.read_string(newnamep)<EOL>ret = <NUM_LIT:0><EOL>try:<EOL><INDENT>os.rename(oldname, newname)<EOL><DEDENT>except OSError as e:<EOL><INDENT>ret = -e.errno<EOL><DEDENT>return ret<EOL>
Rename filename `oldnamep` to `newnamep`.

:param int oldnamep: pointer to oldname
:param int newnamep: pointer to newname