File: str_copy.c

package info (click to toggle)
ngetty 1.1-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 448 kB
  • sloc: ansic: 1,585; makefile: 201; sh: 193; asm: 100
file content (5 lines) | stat: -rw-r--r-- 141 bytes parent folder | download | duplicates (7)
1
2
3
4
5
unsigned int str_copy(char *out,const char *in) /*EXTRACT_INCL*/ {
  unsigned int len=0;
  while ((out[len]=in[len])) len++;
  return len;
}