?? nullnvram.c
字號:
/* nullNvRam.c - null non-volatile RAM library *//* Copyright 1984-1996 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01g,25jun96,wlf doc: cleanup.01f,04jun96,wlf doc: cleanup.01e,24may96,wlf doc: cleanup.01d,15dec92,caf reinstated version 01b.01c,21oct92,ccc fixed ansi warnings.01b,17jul92,caf changed nullNvram.c to nullNvRam.c.01a,26jun92,caf created.*//*DESCRIPTIONThis library contains non-volatile RAM manipulation routines for targetslacking non-volatile RAM. Read and write routines that return ERRORare included.The macro NV_RAM_SIZE should be defined as NONE for targets lackingnon-volatile RAM.*//******************************************************************************** sysNvRamGet - get the contents of non-volatile RAM** This routine copies the contents of non-volatile memory into a specified* string. The string is terminated with an EOS.** NOTE: This routine has no effect, since there is no non-volatile RAM.** RETURNS: ERROR, always.** SEE ALSO: sysNvRamSet()*/STATUS sysNvRamGet ( char *string, /* where to copy non-volatile RAM */ int strLen, /* maximum number of bytes to copy */ int offset /* byte offset into non-volatile RAM */ ) { return (ERROR); }/********************************************************************************* sysNvRamSet - write to non-volatile RAM** This routine copies a specified string into non-volatile RAM.** NOTE: This routine has no effect, since there is no non-volatile RAM.** RETURNS: ERROR, always.** SEE ALSO: sysNvRamGet()*/STATUS sysNvRamSet ( char *string, /* string to be copied into non-volatile RAM */ int strLen, /* maximum number of bytes to copy */ int offset /* byte offset into non-volatile RAM */ ) { return (ERROR); }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -