Name

sysfs_emit_at — scnprintf equivalent, aware of PAGE_SIZE buffer.

Synopsis

int sysfs_emit_at (char * buf,
 int at,
 const char * fmt,
  ...);
 

Arguments

buf

start of PAGE_SIZE buffer.

at

offset in buf to start write in bytes at must be >= 0 && < PAGE_SIZE

fmt

format @...: optional arguments to fmt

...

variable arguments

Description

Returns number of characters written starting at &buf[at].