File:  [DVB] / dietlibc / lib / wcstombs.c
Revision 1.2: download - view: text, annotated - select for diffs
Thu Mar 3 17:33:16 2011 UTC (13 years, 3 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
fix compiler warnings
make i386 start code slightly smaller (I think profiling was broken,
too, and this should fix it)
add PIC stack smash handler

#include <wchar.h>
#include "dietlocale.h"
#include <wchar.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>

size_t wcstombs(char *dest, const wchar_t *src, size_t len) {
  return wcsrtombs(dest,&src,len,NULL);
}

LinuxTV legacy CVS <linuxtv.org/cvs>