OpenCores
URL https://opencores.org/ocsvn/mlite/mlite/trunk

Subversion Repositories mlite

[/] [mlite/] [trunk/] [kernel/] [libc.c] - Diff between revs 199 and 207

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 199 Rev 207
Line 389... Line 389...
            *(int*)argv[argc++] = strtol(s, &s, 16);
            *(int*)argv[argc++] = strtol(s, &s, 16);
         else if(f == 'c')
         else if(f == 'c')
            *(char*)argv[argc++] = *s++;
            *(char*)argv[argc++] = *s++;
         else if(f == 's')
         else if(f == 's')
         {
         {
            ptr = (char*)argv[argc];
            ptr = (char*)argv[argc++];
            while(!isspace(*s))
            while(!isspace(*s))
               *ptr++ = *s++;
               *ptr++ = *s++;
            *ptr = 0;
            *ptr = 0;
         }
         }
      }
      }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.