view RISCOS/Python/getcwd_riscos.c @ 25051:cbee2ed6cd75 legacy-trunk

Note change in behavior from 1.5.2. The new argument to NameError is an error message and not just the missing name. Closes SF Bug 599869.
author Raymond Hettinger <python@rcn.com>
date Tue, 27 Aug 2002 23:53:23 +0000
parents a015aed3a1ac
children
line wrap: on
line source

char *getcwd(char *buf, int size)
{
  buf[0] = '\0';
  return buf;
}