Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <libc/stubs.h>
  3. #include <stdio.h>
  4. #include <string.h>
  5. #include <sys/utsname.h>
  6. #include <errno.h>
  7. #include <dos.h>
  8.  
  9. int uname(struct utsname *u)
  10. {
  11.   strncpy(u->sysname, "MenuetOS",8);
  12.   u->sysname[sizeof(u->sysname) - 1] = '\0';
  13.   sprintf(u->version, "0.47");
  14.   sprintf(u->release, "1.0");
  15.   strcpy(u->machine, "i386");
  16.   strcpy(u->nodename, "(none)");
  17.   return 0;
  18. }
  19.