Project

General

Profile

Bug #1978 » test.c

testing source code - Milan Jurik, 2012-01-16 04:50 PM

 
1
#include <libstmf.h>
2
#include <stdio.h>
3

    
4
int
5
main()
6
{
7
	char buf[100];
8
	size_t i = 9;
9
	printf("%d\n", stmfSetStmfProp(STMF_DEFAULT_LU_STATE, "online"));
10
	printf("%d\n", stmfGetStmfProp(STMF_DEFAULT_LU_STATE, buf, &i));
11
	printf("%s\n", buf);
12
}
(1-1/2)