Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
580 B

4 years ago
  1. /************************************************************************
  2. Copyright (c) 1993 Microsoft Corporation
  3. Module Name :
  4. ndrsup.c
  5. Abstract :
  6. This file contains string length functions for Mac.
  7. Author :
  8. Mario Goertzel (MarioGo) 11/17/94.
  9. Revision History :
  10. ***********************************************************************/
  11. #include <rpc.h>
  12. #include <rpcndr.h>
  13. size_t RPC_ENTRY
  14. MIDL_wchar_strlen (
  15. IN wchar_t s[]
  16. )
  17. {
  18. size_t i = 0;
  19. while (s[i] != (wchar_t)0)
  20. {
  21. ++i;
  22. }
  23. return i;
  24. }